import * as z from 'zod'; import type { Api } from '../api'; declare const InputMessage: z.ZodUnion; 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>, z.ZodObject<{ topic: z.ZodLiteral<"tx_wrong">; 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>]>; export declare const Config: z.ZodObject<{ workerSeed: z.ZodString; votingUrl: z.ZodString; indexerUrl: z.ZodString; workerAddress: z.ZodString; solutionNamespace: z.ZodString; }, z.core.$strip>; export declare const VotingServiceConfig: (api: Api) => { new (rawConfig: any): { config: Promise>; onInput(_message: z.infer): Promise; api: Api; nodeConfig: unknown; messageZod: z.ZodUnion; 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>, z.ZodObject<{ topic: z.ZodLiteral<"tx_wrong">; 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 {};