/**
 * Client-tool availability state for the imagegen builtin.
 *
 * The generate_image tool is registered once and gated at call time so a
 * mid-session login or model switch takes effect without a reload. Credentials
 * are re-resolved inside every execute; this module only carries the native
 * bypass seam, which the sibling openai-image-gen builtin wires live once the
 * native server tool ships. Until then it stays false and the client tool owns
 * every image request.
 */
import type { ImageGenAuthRegistry } from "./auth.ts";
export declare const NATIVE_BYPASS_MESSAGE = "Image generation is handled by the provider's native server-side tool for the current model. Call the native image_generation tool instead of generate_image.";
/** Enables or disables deferral to a provider-native image generation tool. */
export declare function setNativeBypass(enabled: boolean): void;
/** Whether generate_image should defer to a provider-native image generation tool. */
export declare function isNativeBypass(): boolean;
/**
 * Overrides the registry the tool resolves credentials from. Tests and the
 * arbitration suite use this to force a credential direction independent of
 * whatever providers the ambient session registry holds.
 */
export declare function setImageGenRegistry(registry: ImageGenAuthRegistry | undefined): void;
/** The registry override, when one is installed. */
export declare function imageGenRegistryOverride(): ImageGenAuthRegistry | undefined;
//# sourceMappingURL=state.d.ts.map