import * as z from 'zod'; import type { Api } from '../api'; import { Vote } from '../types'; declare const InputMessage: z.ZodObject<{ payload: z.ZodObject<{ voting: z.ZodArray>; }, z.core.$loose>; }, z.core.$loose>; declare const Config: z.ZodObject<{ indexerUrl: z.ZodString; solutionNamespace: z.ZodString; workerAddress: z.ZodString; noHashing: z.ZodBoolean; }, z.core.$strip>; /** Based on https://github.com/energywebfoundation/node-red-contrib-energywebx/blob/master/submit-solution.js */ export declare const VotingMarketplace: (api: Api) => { new (rawConfig: any): { config: Promise>; onInput(message: z.infer): Promise; sendResult(payload: Vote): Promise; api: Api; nodeConfig: unknown; messageZod: z.ZodObject<{ payload: z.ZodObject<{ voting: z.ZodArray>; }, z.core.$loose>; }, z.core.$loose>; 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 {};