import { type TTrimWhitespace } from './internal/trim'; import { type TTrim } from './internal/trim'; import { type TTake } from './internal/take'; import { type TNewLine } from './internal/char'; import { type TWhiteSpace } from './internal/char'; type TTakeConst = (TTake<[Const], Input>); /** Matches if next is the given Const value */ export type TConst = (Const extends '' ? ['', Input] : Const extends `${infer First extends string}${string}` ? (First extends TNewLine ? TTakeConst> : First extends TWhiteSpace ? TTakeConst : TTakeConst>) : never); /** Matches if next is the given Const value */ export declare function Const(const_: Const, input: Input): TConst; export {};