1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 02:43:04 +01:00
bitwarden-estensione-browser/src/abstractions/import.service.ts

8 lines
311 B
TypeScript
Raw Normal View History

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;
}