import { type ValidateFunction } from 'ajv';
import * as z from 'zod';
import type { RuntimeApi } from '../api';
declare const InputMessage: z.ZodObject<{
    payload: z.ZodObject<{}, z.core.$loose>;
}, z.core.$loose>;
declare const Config: z.ZodObject<{
    jsonSchema: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const JsonSchemaValidator: (api: RuntimeApi) => {
    new (config: any): {
        config: z.infer<typeof Config>;
        validateFn: ValidateFunction<unknown>;
        onInput(message: z.infer<typeof InputMessage>): void;
        api: RuntimeApi;
        nodeConfig: unknown;
        messageZod: z.ZodObject<{
            payload: z.ZodObject<{}, z.core.$loose>;
        }, z.core.$loose>;
        getBaseUrls(): Promise<z.core.output<typeof import("../node").BaseUrlsConfig>>;
        getNodeEnvConfig(): import("../node").NodeEnvConfig;
        sendBuilder(inputMessage: import("../types").NodeMessage<any>): import("../node").SendBuilder;
        onDestroy?(): void | Promise<void>;
        handleMaybePromise<T>(maybePromiseCb: () => (T | Promise<T>), done: (err?: Error) => void): void;
    };
};
export {};
