import * as sdk from '@botpress/sdk';
import { JSONSchema7 } from 'json-schema';
type SchemaOptions = {
    title?: string;
    examples?: any[];
};
type SchemaDefinition = {
    schema: sdk.ZuiObjectOrRefSchema;
    ui?: Record<string, SchemaOptions | undefined>;
};
type MapSchemaOptions = {
    useLegacyZuiTransformer?: boolean;
};
export declare function mapZodToJsonSchema(definition: SchemaDefinition, options: MapSchemaOptions): Promise<ReturnType<typeof sdk.transforms.toJSONSchemaLegacy>>;
export declare const dereferenceSchema: (schema: JSONSchema7) => Promise<JSONSchema7>;
export {};
