import type { SecurityValues } from '@superfaceai/ast'; import type { IEvents } from './events'; import type { IProfile } from './profile'; import type { IProvider } from './provider'; export interface ISuperfaceClient { getProvider(providerName: string, options?: { parameters?: Record; security?: SecurityValues[] | { [id: string]: Omit; }; }): Promise; getProfile(profile: string | { id: string; version?: string; }): Promise; getProviderForProfile(profileId: string): Promise; on(...args: Parameters): void; }