interface ParseResult { cursor: number | null; strict: { text: string; value: number | null; }; safe: { text: string; value: number | null; }; } export declare const ALLOWED_NUMERIC_KEYBOARD_KEYS: Set; export interface ParseNumberOptions { /** * Cursor position in the input string * * If not specified, the cursor is assumed to be at the end of the input. * When specified, it helps to infer the decimal separator position, preferring the separator before the cursor. */ cursor?: number | null; /** * Decimal separator character * * Specifying decimal separator forces the parser to treat only that character as decimal separator. * If not specified, the parser will try to infer the decimal separator based on the cursor position. */ decimalSeparator?: string; } /** * Parses a numeric string into a number, handling various formats and invalid characters. * @param input Input string to parse * @param options Parsing options * @returns Parsed result with strict and safe interpretations */ export declare function parseNumber(input: string | null | undefined, options?: ParseNumberOptions): ParseResult; export {};