import type { BubbleContext } from '../../types/bubble.js';
import { type CredentialType } from '@bubblelab/shared-schemas';
import type { AIAgentParamsParsed, AIAgentResult } from './ai-agent.js';
type ResolveCapabilityCredentials = (capDef: {
    metadata: {
        requiredCredentials: CredentialType[];
        optionalCredentials?: CredentialType[];
    };
}, capConfig: {
    credentials?: Record<string, string>;
}) => Partial<Record<CredentialType, string>>;
export declare function applyCapabilityPreprocessing(params: AIAgentParamsParsed, bubbleContext: BubbleContext | undefined, resolveCapabilityCredentials: ResolveCapabilityCredentials): Promise<AIAgentParamsParsed>;
export declare function applyCapabilityPostprocessing(result: AIAgentResult, params: AIAgentParamsParsed, bubbleContext: BubbleContext | undefined, resolveCapabilityCredentials: ResolveCapabilityCredentials): Promise<AIAgentResult>;
export {};
//# sourceMappingURL=capability-pipeline.d.ts.map