import type * as T from '@traversable/registry'; import { t } from '@traversable/schema'; import type { Algebra } from './functor.js'; import type { IR } from './shared.js'; export declare const MAX_WIDTH = 120; export declare const WeightByTypeName: { readonly never: 0; readonly any: 10; readonly unknown: 20; readonly void: 30; readonly undefined: 40; readonly null: 50; readonly symbol: 60; readonly boolean: 70; readonly integer: 80; readonly bigint: 90; readonly number: 100; readonly string: 110; readonly optional: 120; readonly intersect: 130; readonly union: 140; readonly tuple: 150; readonly object: 160; readonly array: 170; readonly record: 180; readonly eq: 190; readonly ref: 200; }; export declare const interpreter: Algebra; export declare const sort: (schema: t.F) => IR; export declare function buildFunctionBody(schema: t.Schema): string; export declare const generate: (schema: t.Schema) => string; export declare const generateParser: (schema: t.Schema) => string; export declare function compile(schema: S): ((x: S['_type'] | T.Unknown) => x is S['_type']); export declare function compileParser(schema: S): ((x: S['_type'] | T.Unknown) => S['_type']); //# sourceMappingURL=compile.d.ts.map