import { Ast, AstLiteral, AstPrimitive, AstStrict } from "../ast/ast.js"; import { EstimateType } from "../ast/estimate_type.js"; import { Decorator } from "../decorator/decorator.js"; export declare function stringifyLiteral(value: string | number | boolean | bigint): string; export declare function condPrimitive(ast: AstPrimitive, is: 1 | 0, value: string): string; export declare function condLiteral(ast: AstLiteral, is: 1 | 0, value: string): string; export declare function createValidateSource(ast: AstStrict): { source: string; decorators: Decorator[]; }; export declare function createValidate(ast: T): (data: unknown) => data is EstimateType;