/** Maximum permitted UTF-8 byte length of an ingested source snippet. */
export declare const MAX_SOURCE_BYTES = 5000000;
/** Maximum permitted UTF-8 byte length of a gateway-bound prompt. */
export declare const MAX_PROMPT_BYTES = 256000;
/** Maximum permitted number of candidates produced per QI run. */
export declare const MAX_CANDIDATES_PER_RUN = 1024;
export type OversizeGuardOutcome = {
    readonly ok: true;
} | {
    readonly ok: false;
    readonly limit: number;
    readonly observed: number;
    readonly reason: string;
};
/** Reject source snippets whose UTF-8 length exceeds {@link MAX_SOURCE_BYTES}. */
export declare const assertSourceSize: (source: string) => OversizeGuardOutcome;
/** Reject prompts whose UTF-8 length exceeds {@link MAX_PROMPT_BYTES}. */
export declare const assertPromptSize: (prompt: string) => OversizeGuardOutcome;
/** Reject candidate batches whose count exceeds {@link MAX_CANDIDATES_PER_RUN}. */
export declare const assertCandidateCount: (count: number) => OversizeGuardOutcome;
//# sourceMappingURL=oversizeGuards.d.ts.map