import StringValueObject from './string.value-object.js';

declare class SpanishPhoneNumberValueObject extends StringValueObject {
    /**
     * Constructs a new SpanishPhoneNumberValueObject instance.
     * @param {string} value - The value of the phone number.
     * @param {string} [property='SpanishPhoneNumberValueObject'] - The property name (optional).
     * @throws {SpanishPhoneNumberValueError} If the value is not valid.
     */
    constructor(value: string, property?: string);
    static isValid(value: string): boolean;
    private static checkForm;
}

export { SpanishPhoneNumberValueObject as default };
