import { DatabaseSync } from 'node:sqlite'; import { type JSONCodecReadSecretOptions } from '../tools/json-codec.js'; export declare class DatabaseService { readonly db: DatabaseSync; constructor(); transaction(fn: () => T): T; encode(value: unknown): Promise; decode(text: string | null, options?: JSONCodecReadSecretOptions): Promise; close(): void; }