import type { SecurityValues } from '@superfaceai/ast'; import type { NonPrimitive, Result, UnexpectedError, Variables } from '../lib'; import type { PerformError } from './errors'; import type { IProvider } from './provider'; export declare type PerformOptions = { provider?: IProvider | string; parameters?: Record; security?: SecurityValues[] | { [id: string]: Omit; }; mapVariant?: string; mapRevision?: string; }; export interface IUseCase { perform, TOutput = unknown>(input?: TInput, options?: PerformOptions): Promise>; }