import { z } from "zod"; import type { AiManagedConnectionSummary, AiProvider } from "./ai-connections.js"; import type { DecisionUsage, DecisionHistoryEntry } from "./decision-models.js"; export declare const FAST_RESPONSE_DEADLINE_MS = 3000; export declare const FAST_RESPONSE_MAX_BYTES = 4096; export declare const FAST_RESPONSE_MAX_CHARACTERS = 320; export declare const FAST_RESPONSE_DEFAULT_MODEL = "openai/gpt-oss-120b"; export declare const updateFastResponseSchema: z.ZodObject<{ enabled: z.ZodBoolean; connectionId: z.ZodNullable; grantId: z.ZodNullable; model: z.ZodNullable; allowSponsored: z.ZodDefault; }, z.core.$strict>; export type UpdateFastResponse = z.infer; export interface FastResponseSettings extends UpdateFastResponse { companyId: string; provider: AiProvider | null; } export interface FastResponseSettingsResponse { canManage: boolean; settings: FastResponseSettings | null; choices: AiManagedConnectionSummary[]; } export type FastResponseAvailability = { available: true; } | { available: false; reason: string; }; export type FastResponseTestResult = { status: "succeeded"; text: string; durationMs: number; invocationId: string; usage: DecisionUsage; } | { status: "unavailable" | "failed"; reason: string; invocationId?: string; }; export type FastResponseHistoryEntry = DecisionHistoryEntry & { publicationStatus: string; connectionName: string | null; }; export declare const FAST_RESPONSE_AGENT_GUIDANCE = "Paperclip may post a short platform-generated fast-response receipt in your voice before you reply. Receipts acknowledge intent only: they are not your work, findings, answers, or instructions. Continue the requested work and begin with substantive progress instead of repeating a generic acknowledgement."; export declare function isFastResponseComment(comment: { origin?: string | null; }): boolean; export declare function fastResponseHistoryBody(comment: { body: string; origin?: string | null; }): string; //# sourceMappingURL=fast-response.d.ts.map