import { z } from "zod"; export type NumberStatus = "available" | "g-available" | "leased" | "unavailable"; export interface AvailableLeaseNumber { id: string; status: NumberStatus; number: { e164: string; formatted: string; }; location: { country: string; region: string; city: string; }; carrier: string; capabilities: { intl_sms: boolean; channels: string[]; }; health: { reputation: number; previous_owners: number; }; data: { requirements?: string[]; e911_capable?: boolean; [key: string]: unknown; }; created_at: string | number; pricing: { currency: string; upfront_fee: number; monthly_rate: number; }; } export interface LeaseAvailableResponse { available: number; numbers: AvailableLeaseNumber[]; } export type LeaseStatus = "active" | "paused" | "expired" | "terminated"; export interface LeaseBilling { method: "monthly" | "service_contract" | "goodwill"; period: { start: number; end: number | null; }; } export interface LeasedNumber extends AvailableLeaseNumber { lease_id: string; lease_status: LeaseStatus; billing?: LeaseBilling; } export interface LeasedResponse { leased: number; numbers: LeasedNumber[]; } export interface NumberFilters { capabilities?: string[]; location?: { country?: string; region?: string; city?: string; }; } export interface AvailableFilters extends NumberFilters { status?: NumberStatus; } export interface AvailableOptions { filter?: AvailableFilters; } export interface LeaseFilters extends NumberFilters { status?: LeaseStatus; } export interface LeasedOptions { filter?: LeaseFilters; } export declare const leaseCreateSchema: z.ZodObject<{ billing_method: z.ZodOptional>; }, z.core.$loose>; export type LeaseCreateOptions = z.infer; export declare const leaseConfigureSchema: z.ZodObject<{ number: z.ZodString; failover: z.ZodObject<{ enabled: z.ZodBoolean; mode: z.ZodOptional>; numbers: z.ZodOptional>; }, z.core.$strip>; }, z.core.$loose>; export type LeaseConfigureParams = z.infer; export interface LeaseConfigureResponse { number: string; failover: { enabled: boolean; mode: "all" | "selective"; numbers: string[]; }; } export declare const callForwardingEnableSchema: z.ZodObject<{ to: z.ZodString; }, z.core.$loose>; export type CallForwardingEnableParams = z.infer; export type CallForwardingStatus = "active" | "queued"; export interface CallForwarding { enabled: boolean; to: string | null; status: CallForwardingStatus; estimated_completion: number | null; } export interface CallForwardingResponse { number: string; call_forwarding: CallForwarding; } //# sourceMappingURL=leases.d.ts.map