@scalar/api-client
Version:
the open source API testing client
12 lines • 598 B
TypeScript
import type { Collection } from '@scalar/oas-utils/entities/spec';
import type { WorkspaceStore } from '../../../store/index.js';
import type { Workspace } from '@scalar/oas-utils/entities/workspace';
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