import Field, { type ValidationResult } from "../../../chip-types/field.js"; import type Context from "../../../context.js"; import type { OpenApiTypes } from "../../../schemas/open-api-types.js"; import type { FieldValue } from "./field-value.js"; export declare class PhoneNumberValue implements FieldValue { country_code: string; number: string; constructor(country_code: string, number: string); getRestAPIValue(): string; static fromObject(ctx: Context, value: { country_code: string; number: string; }): PhoneNumberValue; static fromString(ctx: Context, value: string): PhoneNumberValue; static fromInput(ctx: Context, value: unknown): PhoneNumberValue; getNumberPartWithSpaces(): string; toString(): string; toDB(): { country_code: string; number: string; }; } export declare class PhoneNumber extends Field { typeName: string; open_api_type: OpenApiTypes.STR; protected isProperValue(context: Context, new_value: unknown): Promise; encode(ctx: Context, value: PhoneNumberValue | [country_code: string, number: string] | null): Promise<{ country_code: string; number: string; } | null>; decode(context: Context, storage_value: { country_code: string; number: string; }): Promise; }