/**
 * Skill invocation lifecycle — auth, execute, record, bill.
 *
 * Sets _instrument.skillName so all child spans are attributed to the skill.
 */
export interface InvocationResult {
    success: boolean;
    data?: unknown;
    error?: string;
    latencyMs: number;
    toolsUsed?: string[];
}
export interface InvocationOpts {
    skillName: string;
    skillVersion?: string;
    args: Record<string, unknown>;
    sptToken?: string;
    apiUrl: string;
    apiKey?: string;
}
/**
 * Execute a skill invocation with full lifecycle tracking.
 *
 * 1. Validates SPT token (if provided)
 * 2. Dispatches to the skill handler
 * 3. Records invocation via POST /capabilities/invocations
 * 4. Returns result with timing data
 */
export declare function invokeSkill(opts: InvocationOpts, handler: (skillName: string, args: Record<string, unknown>) => Promise<unknown>): Promise<InvocationResult>;
//# sourceMappingURL=skill-invoker.d.ts.map