import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ConversationParam } from "./conversationparam.js";
import { IncompleteDetails } from "./incompletedetails.js";
import { MemoryParam } from "./memoryparam.js";
import { PublicUsage } from "./publicusage.js";
import { Reasoning } from "./reasoning.js";
import { ResponseError } from "./responseerror.js";
export declare const ServiceTier: {
    readonly Auto: "auto";
    readonly Default: "default";
    readonly Flex: "flex";
    readonly Priority: "priority";
};
export type ServiceTier = ClosedEnum<typeof ServiceTier>;
export declare const PublicResponseResourceStatus: {
    readonly Queued: "queued";
    readonly InProgress: "in_progress";
    readonly Completed: "completed";
    readonly Failed: "failed";
    readonly Incomplete: "incomplete";
    readonly RequiresAction: "requires_action";
};
export type PublicResponseResourceStatus = ClosedEnum<typeof PublicResponseResourceStatus>;
export declare const Truncation: {
    readonly Disabled: "disabled";
    readonly Auto: "auto";
};
export type Truncation = ClosedEnum<typeof Truncation>;
export type PublicResponseResource = {
    background: boolean;
    completedAt: number | null;
    conversation?: ConversationParam | undefined;
    createdAt: number;
    error: ResponseError | null;
    frequencyPenalty: number;
    id: string;
    incompleteDetails: IncompleteDetails | null;
    /**
     * Array of input items (messages, function call outputs, etc.)
     */
    input: Array<any> | null;
    instructions: string | null;
    maxOutputTokens: number | null;
    maxToolCalls: number | null;
    memory?: MemoryParam | undefined;
    /**
     * Developer-defined key-value pairs attached to the response (OpenAI spec: Map<string, string>).
     */
    metadata: {
        [k: string]: string;
    };
    model: string;
    /**
     * Always "response"
     */
    object: string;
    /**
     * Array of output items (messages, function calls, reasoning, etc.)
     */
    output: Array<any> | null;
    parallelToolCalls: boolean;
    presencePenalty: number;
    previousResponseId: string | null;
    promptCacheKey: string | null;
    promptCacheRetention: string | null;
    reasoning: Reasoning | null;
    safetyIdentifier: string | null;
    serviceTier: ServiceTier;
    status: PublicResponseResourceStatus;
    store: boolean;
    temperature: number;
    /**
     * Text output configuration including format and verbosity
     */
    text?: any | undefined;
    /**
     * Tool choice setting: "auto", "none", "required", or a specific function
     */
    toolChoice?: any | undefined;
    /**
     * Array of tool configurations used in this response
     */
    tools: Array<any> | null;
    topLogprobs: number;
    topP: number;
    truncation: Truncation;
    usage: PublicUsage | null;
    user: string | null;
    variables?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const ServiceTier$inboundSchema: z.ZodNativeEnum<typeof ServiceTier>;
/** @internal */
export declare const PublicResponseResourceStatus$inboundSchema: z.ZodNativeEnum<typeof PublicResponseResourceStatus>;
/** @internal */
export declare const Truncation$inboundSchema: z.ZodNativeEnum<typeof Truncation>;
/** @internal */
export declare const PublicResponseResource$inboundSchema: z.ZodType<PublicResponseResource, z.ZodTypeDef, unknown>;
export declare function publicResponseResourceFromJSON(jsonString: string): SafeParseResult<PublicResponseResource, SDKValidationError>;
//# sourceMappingURL=publicresponseresource.d.ts.map