import { Bounds, IntIntervalType, IntervalType, NeverType, NonIntIntervalType, NumericLiteralType, StringLiteralType, StructInstanceType, Type, WithUnderlying } from './types'; export declare type UnderlyingGroup = { [key in Type['underlying']]: WithUnderlying[]; }; export declare const groupByUnderlying: (types: readonly T[]) => UnderlyingGroup; export declare const isSameType: (a: Type, b: Type) => boolean; export declare function literal(number: number): NumericLiteralType; export declare function literal(string: string): StringLiteralType; export declare const interval: (min: number, max: number, exclusivity: Bounds) => NumericLiteralType | IntervalType | NonIntIntervalType | NeverType; export declare const closedInterval: (min: number, max: number) => NumericLiteralType | IntervalType; export declare const openInterval: (min: number, max: number) => NeverType | IntervalType | NonIntIntervalType; export declare const intInterval: (min: number, max: number) => NumericLiteralType | IntIntervalType; export declare const nonIntInterval: (min: number, max: number) => NonIntIntervalType | NeverType; export declare const isNumericLiteral: (type: Type) => type is NumericLiteralType; export declare const isStringLiteral: (type: Type) => type is StringLiteralType; export declare const isStructInstance: (type: Type) => type is StructInstanceType; export declare const newBounds: (minExclusive: boolean, maxExclusive: boolean) => Bounds;