import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { InputTokensDetails } from "./inputtokensdetails.js";
import { OutputTokensDetails } from "./outputtokensdetails.js";
export type PublicUsage = {
    /**
     * Cost (USD) of input tokens. Present when billing was computed for this response.
     */
    inputCost?: number | undefined;
    inputTokens: number;
    inputTokensDetails: InputTokensDetails;
    /**
     * Cost (USD) of output tokens. Present when billing was computed for this response.
     */
    outputCost?: number | undefined;
    outputTokens: number;
    outputTokensDetails: OutputTokensDetails;
    /**
     * Total cost (USD) of the response. Present when billing was computed for this response.
     */
    totalCost?: number | undefined;
    totalTokens: number;
    webSearchRequests?: number | undefined;
};
/** @internal */
export declare const PublicUsage$inboundSchema: z.ZodType<PublicUsage, z.ZodTypeDef, unknown>;
export declare function publicUsageFromJSON(jsonString: string): SafeParseResult<PublicUsage, SDKValidationError>;
//# sourceMappingURL=publicusage.d.ts.map