/** Validates international syntax and the fixed-length North American numbering plan. */ export declare function validatePhotonPhoneNumber(value: string): string | null; export interface PhotonManagedProject { projectId: string; projectSecret: string; assignedPhoneNumber?: string; /** Deletes the dedicated project when a later setup phase fails. */ cleanup(): Promise; } export interface PhotonDeviceAuthorization { userCode: string; verificationUrl: string; } export interface ProvisionPhotonProjectOptions { projectName: string; phoneNumber: string; onAuthorization(authorization: PhotonDeviceAuthorization): void; signal?: AbortSignal; deps?: PhotonManagementDeps; } export interface UsePhotonProjectOptions { projectId: string; projectSecret: string; phoneNumber: string; deps?: PhotonManagementDeps; } export interface PhotonManagementDeps { fetch: typeof fetch; delay(ms: number, signal?: AbortSignal): Promise; } /** Authorizes Photon and creates an isolated iMessage project for one eve agent. */ export declare function provisionPhotonProject(options: ProvisionPhotonProjectOptions): Promise; /** Validates existing Photon credentials and registers the agent's iMessage user. */ export declare function usePhotonProject(options: UsePhotonProjectOptions): Promise;