import type { Collection } from '@scalar/oas-utils/entities/spec';
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
import type { WorkspaceStore } from '@/store';
export declare function importCollection({ store, workspace, source, watchMode, onSuccess, onError, }: {
    store: WorkspaceStore;
    workspace: Workspace | undefined;
    source: string | null | undefined;
    watchMode: boolean;
    onSuccess: (collection: Collection | undefined) => void;
    onError: (error: Error) => void;
}): Promise<void>;
//# sourceMappingURL=import-collection.d.ts.map