/** Match remaining characters in the buffer until end. If no characters are in buffer, no match */
export type TRest = (Input extends '' ? [] : [Input, '']);
/** Match remaining characters in the buffer until end. If no characters are in buffer, no match */
export declare function Rest(input: Input): TRest;