import { CipherService } from "jslib-common/abstractions/cipher.service" ; import { I18nService } from "jslib-common/abstractions/i18n.service" ; import { ConsoleLogService } from "jslib-common/services/consoleLog.service" ; import { SearchService } from "jslib-common/services/search.service" ; export class PopupSearchService extends SearchService { constructor ( private mainSearchService , cipherService , consoleLogService , i18nService ) { super ( cipherService , consoleLogService , i18nService ) ; } clearIndex ( ) { throw new Error ( "Not available." ) ; } indexCiphers ( ) { throw new Error ( "Not available." ) ; } getIndexForSearch ( ) { return this . mainSearchService . getIndexForSearch ( ) ; } }