import type { Kysely } from 'kysely'; import * as z from 'zod'; import type { Api } from '../api'; import type { SqliteDatabase } from '../types'; declare const InputMessage: z.ZodObject<{ topic: z.ZodLiteral; payload: z.ZodObject<{ type: z.ZodLiteral; txLog: z.ZodObject<{ rootUnitId: z.ZodString; changes: z.ZodArray; owner: z.ZodString; volume: z.ZodNumber; unitId: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$loose>; }, z.core.$strip>; declare const Config: z.ZodObject<{ sqliteConfig: z.ZodString; }, z.core.$strip>; /** * Filters out unit ids that are already processed, and forwards processing. * It may happen that `changes` in TxLog is filtered to zero entries. */ export declare const ProcessedFilterSqlite: (api: Api) => { new (config: z.infer): { database: Promise>; onInput(message: z.infer): Promise; api: Api; nodeConfig: unknown; messageZod: z.ZodObject<{ topic: z.ZodLiteral; payload: z.ZodObject<{ type: z.ZodLiteral; txLog: z.ZodObject<{ rootUnitId: z.ZodString; changes: z.ZodArray; owner: z.ZodString; volume: z.ZodNumber; unitId: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; }, 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 {};