import type { ApiProvider, CallApiContextParams, ProviderOptions, ProviderResponse } from '../../types';
export interface VertexAiAgentProviderConfig {
    /** Google Cloud project ID. */
    projectId: string;
    /** Region where the Reasoning Engine is deployed (e.g. `us-central1`). */
    location: string;
    /** Numeric Reasoning Engine resource ID. */
    reasoningEngineId: string;
    /** Service account JSON key as a string (contents of the downloaded key file). */
    serviceAccountKeyJson: string;
    /** @deprecated Full query URL — kept for backward compatibility. When present, overrides the constructed URL. */
    queryUrl?: string;
}
/**
 * Parse `output` when it is a JSON string whose inner object has the final text in `output`
 * (common Reasoning Engine / agent flow pattern).
 */
export declare function extractReasoningEngineResponseText(data: unknown): string;
export declare class VertexAiAgentProvider implements ApiProvider {
    private readonly queryUrl;
    private readonly auth;
    /** Same project/location/engine as `queryUrl` (first constructor argument). */
    private readonly vertexConfig;
    config: any;
    constructor(config: VertexAiAgentProviderConfig, options?: ProviderOptions);
    id(): string;
    private getAccessToken;
    /** Create a session via `:query` + `async_create_session` (ADK Agent Runtime REST). */
    private ensureSessionId;
    callApi(prompt: string, _context?: CallApiContextParams): Promise<ProviderResponse>;
}
//# sourceMappingURL=vertex-ai-agent.d.ts.map