import { AiExtractResponse } from './aiExtractResponse.js';
import { AiAgentInfo } from './aiAgentInfo.js';
import { DateTime } from '../internal/utils.js';
import { SerializedData } from '../serialization/json.js';
export interface AiExtractStructuredResponse {
    readonly answer: AiExtractResponse;
    /**
     * The ISO date formatted timestamp of when the answer to the prompt was created. */
    readonly createdAt: DateTime;
    /**
     * The reason the response finishes. */
    readonly completionReason?: string;
    /**
     * The confidence score levels and numeric values for each extracted field as a JSON dictionary. This can be empty if no field could be extracted. */
    readonly confidenceScore?: {
        readonly [key: string]: any;
    };
    /**
     * The reference for each extracted field as a JSON dictionary. This can be empty if no field could be extracted. */
    readonly reference?: {
        readonly [key: string]: any;
    };
    readonly aiAgentInfo?: AiAgentInfo;
    readonly rawData?: SerializedData;
}
export declare function serializeAiExtractStructuredResponse(val: AiExtractStructuredResponse): SerializedData;
export declare function deserializeAiExtractStructuredResponse(val: SerializedData): AiExtractStructuredResponse;
