import { type TTake } from './take'; /** Matches the given Value or empty string if no match. This function never fails */ export type TOptional = (TTake<[Value], Input> extends [infer Optional extends string, infer Rest extends string] ? [Optional, Rest] : ['', Input]); /** Matches the given Value or empty string if no match. This function never fails */ export declare function Optional(value: Value, input: Input): TOptional;