import type { Kysely } from 'kysely'; import type { Database } from '../db/schema.js'; import { type AiProviderName } from './providers.js'; import type { AiSettings } from './assist.js'; export declare function getAiSettings(db: Kysely): Promise; export interface AiSettingsInput { provider?: AiProviderName | null; model?: string | null; altText?: boolean; seo?: boolean; } /** * Absent keeps what is stored; the settings form sends all four. * * The same distinction `updateMenuItem` draws, and it matters for the two booleans for the same * reason — a caller patching the model must not silently switch both features off. */ export declare function updateAiSettings(db: Kysely, input: AiSettingsInput, actorId: string | null): Promise;