/** Hook events the `.gemini/settings.json` fallback install registers. */ export declare const SETTINGS_HOOK_EVENTS: readonly ["SessionStart", "SessionEnd", "BeforeTool", "AfterTool", "BeforeToolSelection", "Notification", "PreCompress"]; /** * The hook timeout to declare for `event`, in MILLISECONDS (Gemini CLI's * unit). Without an explicit value Gemini applies its 60000ms default, which * kills the interactive session-start login before it can finish. These are * the same windows the bundled extension's hooks.json declares. */ export declare function geminiHookTimeoutMs(event: string): number; /** One matcher entry for `event`, with its declared timeout. */ export declare function settingsHookEntry(command: string, event: string): { matcher: string; hooks: { type: string; command: string; timeout: number; }[]; }[]; /** The hooks section for `events`, each entry carrying its timeout. */ export declare function settingsHooks(command: string, events?: readonly string[]): Record>; /** * Generate the .gemini/settings.json hooks section that configures Ory hooks. */ export declare function generateSettings(hookScriptPath: string): object; /** * Generate settings assuming the plugin is installed via npm/pnpm. */ export declare function generateInstalledSettings(): object; /** * Generate settings pointing to a local dev build. */ export declare function generateDevSettings(packageDir: string): object;