import type { AxiosInstance } from 'axios'; export interface PhoneNumber { phone_number: string; label: string; provider: 'byo' | 'twilio'; inbound: boolean; outbound: boolean; associated_pipeline: { pipeline_id: string; pipeline_name: string; } | null; inbound_config: { allowed_addresses?: string[]; } | null; outbound_config: { address?: string; transport?: 'tls' | 'tcp' | 'udp'; prefix?: string; user?: string; password?: string; } | null; } export interface ImportNumberRequest { provider: 'byo' | 'twilio'; phone_number: string; label: string; inbound?: boolean; outbound?: boolean; inbound_config?: { allowed_addresses?: string[]; }; outbound_config: { address: string; transport: 'tls' | 'tcp' | 'udp'; prefix?: string; user?: string; password?: string; }; } export interface UpdateNumberRequest { label?: string; inbound?: boolean; outbound?: boolean; inbound_config?: { allowed_addresses?: string[]; }; outbound_config?: { address?: string; transport?: 'tls' | 'tcp' | 'udp'; prefix?: string; user?: string; password?: string; }; } export declare class NumberAPI { private readonly client; constructor(client: AxiosInstance); list(): Promise; import(req: ImportNumberRequest): Promise; get(phoneNumber: string): Promise; update(phoneNumber: string, req: UpdateNumberRequest): Promise; delete(phoneNumber: string): Promise; }