export interface SsnValidationOptions { allowCoordinationNumber?: boolean; allowInterimNumber?: boolean; } export interface SsnValidationResult { isValid: boolean; /** Normalized value without separators; `null` when empty or invalid. */ digits: string | null; } /** Strip separators; keeps alphanumeric characters for interim numbers. */ export declare function stripSsnSeparators(value: string): string; /** Validate a Swedish personal identity number. */ export declare function validateSsnNumber(value: string, options?: SsnValidationOptions): SsnValidationResult; export declare function validateSsn(value: string, options?: SsnValidationOptions): boolean; /** `null` when empty, otherwise whether the value is a valid personnummer. */ export declare function getSsnValidationState(value: string, options?: SsnValidationOptions): boolean | null;