@schorts/shared-kernel
Version:
A modular, type-safe foundation for building expressive, maintainable applications. This package provides core abstractions for domain modeling, HTTP integration, authentication, state management, and more — designed to be framework-agnostic and highly ex
13 lines • 470 B
TypeScript
import { ValueObject } from "./";
export declare abstract class PhoneValue implements ValueObject {
readonly valueType = "Phone";
readonly value: string;
constructor(value: string);
get isValid(): boolean;
get countryCode(): string | null;
get phoneNumber(): string | null;
get formattedPhone(): string | null;
equals(valueObject: unknown): boolean;
abstract readonly attributeName: string;
}
//# sourceMappingURL=phone-value.d.ts.map