import { type Settings, type SettingsKey } from "@fiberplane/fpx-types"; import type { LibSQLDatabase } from "drizzle-orm/libsql"; import type * as schema from "../../db/schema.js"; export declare function upsertSettings(db: LibSQLDatabase, content: Settings): Promise<{ value: string; id: number; createdAt: string; updatedAt: string; key: string; }[]>; export declare function upsertSettingsOld(db: LibSQLDatabase, content: Settings): Promise<{ value: string; id: number; createdAt: string; updatedAt: string; key: string; }[]>; export declare function getSetting(db: LibSQLDatabase, key: T): Promise; export declare function getAllSettings(db: LibSQLDatabase): Promise; export declare function getInferenceConfig(db: LibSQLDatabase): Promise<{ aiProvider?: "mistral" | "openai" | "anthropic" | "fp" | "ollama" | undefined; aiProviderConfigurations?: Partial> | undefined; proxyBaseUrl?: string | undefined; proxyRequestsEnabled?: boolean | undefined; webhoncConnectionId?: string | undefined; fpxWorkerProxy?: { baseUrl?: string | undefined; enabled?: boolean | undefined; bearerToken?: string | undefined; } | undefined; openApiSpecUrl?: string | undefined; } | undefined>;