import { CallAPI } from '../../api/calls.js'; import { NumberAPI } from '../../api/numbers.js'; import type { PhoneNumber } from '../../api/numbers.js'; import type { SendCallRequest } from '../../api/calls.js'; import type { VoiceProfile, TTSConfig } from '../../api/types.js'; export declare function isE164(phone: string): boolean; export declare function validateE164(phone: string): string; /** Create a project-scoped CallAPI (baseURL includes /projects/{appId}). */ export declare function getCallAPI(profileName?: string): CallAPI; /** Create an account-scoped NumberAPI (baseURL does NOT include /projects/{appId}). */ export declare function getNumberAPI(profileName?: string): NumberAPI; /** Get resolved config. */ export declare function getConfig(profileName?: string): import("../../api/types.js").ProfileConfig; export declare function pickOutboundNumber(numbers: PhoneNumber[]): Promise; /** Generate a unique channel name for phone calls. */ export declare function buildChannelName(): string; /** Build a SendCallRequest from resolved parameters. */ export declare function buildCallRequest(params: { fromNumber: string; toNumber: string; channelName: string; agentToken: string; sipToken: string; llm: Record; tts: Record; asr: Record; idleTimeout?: number; }): SendCallRequest; /** Build TTS config, optionally applying a voice profile override. */ export declare function buildTTSConfig(baseTTS: Partial, voiceProfile?: VoiceProfile): Partial;