import { Decorator } from "../decorator/decorator.js"; import { Ast, AstArray, AstDecorator, AstPrimitive, AstUnion } from "./ast.js"; import { EstimateType } from "./estimate_type.js"; export declare function any(): AstPrimitive; export declare function or(types: T[]): AstUnion; export declare function union(types: T[]): AstUnion; export declare function array(of: T): AstArray; export declare function decorate(of: T, decorator: Decorator>): AstDecorator; export declare function decorate(of: T, decorators: Decorator>[]): AstDecorator; export declare function optional(of: T): AstUnion;