import type { Kysely } from 'kysely'; import * as z from 'zod'; import type { Api } from '../api'; import type { SqliteDatabase } from '../types'; declare const InputMessage: z.ZodUnion; payload: z.ZodObject<{ ledgerQuery: z.ZodArray>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ topic: z.ZodLiteral<"update_ledger">; payload: z.ZodObject<{ ledgerUpdate: z.ZodArray>; }, z.core.$loose>; }, z.core.$strip>]>; declare const Config: z.ZodObject<{ sqliteConfig: z.ZodString; }, z.core.$strip>; export declare const LedgerSqlite: (api: Api) => { new (config: z.infer): { database: Promise>; onInput(message: z.infer): Promise; api: Api; nodeConfig: unknown; messageZod: z.ZodUnion; payload: z.ZodObject<{ ledgerQuery: z.ZodArray>; }, z.core.$loose>; }, z.core.$strip>, z.ZodObject<{ topic: z.ZodLiteral<"update_ledger">; payload: z.ZodObject<{ ledgerUpdate: z.ZodArray>; }, z.core.$loose>; }, z.core.$strip>]>; getBaseUrls(): Promise>; getNodeEnvConfig(): import("../node").NodeEnvConfig; sendBuilder(inputMessage: import("../types").NodeMessage): import("../node").SendBuilder; onDestroy?(): void | Promise; handleMaybePromise(maybePromiseCb: () => (T | Promise), done: (err?: Error) => void): void; }; }; export {};