mirror of
https://github.com/bitwarden/browser
synced 2024-12-28 02:43:04 +01:00
8 lines
311 B
TypeScript
8 lines
311 B
TypeScript
|
import { Importer } from '../importers/importer';
|
||
|
export type ImportOptions = Array<{id: string, name: string}>;
|
||
|
export abstract class ImportService {
|
||
|
submit: (importer: Importer, fileContents: string) => Promise<Error>;
|
||
|
getOptions: () => ImportOptions;
|
||
|
getImporter: (format: string) => Importer;
|
||
|
}
|