/** * Some surfaces are framed by a host and carry no agent-native session at all — * Builder's Design tab frames a canvas that owns no design row and holds no * credential. Every `/_agent-native/*` call from one is unauthenticated by * construction, so the client must not make them: a 401 per poll buries real * failures, and a write can never land. */ export declare function setAgentNativeApiDisabled(reason: string | null): void; export declare function agentNativeApiDisabledReason(): string | null; export declare class AgentNativeApiDisabledError extends Error { readonly reason: string; constructor(detail: string); } export declare function assertAgentNativeApiEnabled(detail: string): void;