package Ġcom . gre kov . translate . domain . repository Ċ Ċ import Ġcom . gre kov . translate . domain . inter actor . history . Make Favorite Params Ċ import Ġcom . gre kov . translate . domain . model . Lang Ċ import Ġcom . gre kov . translate . domain . model . Phrase Ċ import Ġio . reactivex . Comp letable Ċ import Ġio . reactivex . Observable Ċ import Ġio . reactivex . Single Ċ Ċ interface ĠI Translate Repository Ġ{ ĊĊĠĠĠ Ġfun Ġtranslate Phrase ( phrase : ĠP hr ase ): ĠSingle < Phrase > ĊĊĠĠĠ Ġfun Ġget Favorite Ph rases ( search : ĠString ): ĠObservable < List < Phrase >> ĊĊĠĠĠ Ġfun Ġget Ph rases History ( search : ĠString ): ĠObservable < List < Phrase >> ĊĊĠĠĠ Ġfun Ġmake Favorite Phrase ( params : ĠMake Favorite Params ): ĠComp letable ĊĊĠĠĠ Ġval Ġlang s From Cache : ĠSingle < List < Lang >> ĊĊĠĠĠ Ġval Ġlang s From Cloud : ĠSingle < List < Lang >> ĊĊĠĠĠ Ġfun Ġload Phrase ( phrase : ĠString , Ġcode : ĠString ): ĠSingle < Phrase > ĊĊĠĠĠ Ġfun Ġclear Ph rases ( is Favorite : ĠBoolean ?): ĠComp letable ĊĊĠĠĠ Ġfun Ġget Lang By Code ( code : ĠString ): ĠSingle < Lang > Ċ } Ċ