/** * APIClaw managed-provider routing - Execute API calls through connected providers */ export { executeChain } from './chainExecutor.js'; export type { ChainDefinition, ChainResult, ChainOptions, Credentials, StepTrace, ChainError, } from './chainExecutor.js'; export { resolveReferences, validateReferences, extractReferences, } from './chainResolver.js'; export type { ChainContext, ChainStep, ChainStepUnion, Reference, ValidationResult, } from './chainResolver.js'; interface ExecuteResult { success: boolean; provider: string; action: string; data?: unknown; error?: string; code?: string; cost?: number; url?: string; id?: string; content?: string; status?: string; } interface DryRunResult { dry_run: true; provider: string; action: string; would_send: { url: string; method: string; headers: Record; body?: unknown; }; mock_response: { success: boolean; data: unknown; estimated_cost?: string; }; notes: string[]; } /** * Generate a dry-run result showing what would be sent without making actual API calls */ export declare function generateDryRun(providerId: string, action: string, params: Record): DryRunResult; export declare function getProviderActions(providerId: string): string[]; export declare function getProviderActionsAsync(providerId: string): Promise; export declare function getConnectedProviders(): { provider: string; actions: string[]; }[]; export declare function executeAPICall(providerId: string, action: string, params: Record, userId?: string, customerKey?: string): Promise; //# sourceMappingURL=execute.d.ts.map