export type FlowCategory = 'SIGN_UP' | 'SIGN_IN' | 'APPOINTMENT_BOOKING' | 'LEAD_GENERATION' | 'CONTACT_US' | 'CUSTOMER_SUPPORT' | 'SURVEY' | 'OTHER'; export type FlowStatus = 'DRAFT' | 'PUBLISHED' | 'DEPRECATED' | 'BLOCKED' | 'THROTTLED'; export interface FlowValidationError { error: string; error_type: string; message: string; line_start?: number; line_end?: number; column_start?: number; column_end?: number; } export interface FlowPreview { preview_url: string; expires_at: string; } export interface FlowDetails { id: string; name: string; status: FlowStatus; categories: FlowCategory[]; validation_errors?: FlowValidationError[]; json_version?: string; data_api_version?: string; endpoint_uri?: string; preview?: FlowPreview; whatsapp_business_account?: { id: string; }; application?: { id: string; }; } export interface CreateFlowOptions { name: string; categories?: FlowCategory[]; cloneFlowId?: string; endpointUri?: string; } export interface CreateFlowResult { id: string; } export interface UpdateFlowMetadataOptions { name?: string; categories?: FlowCategory[]; endpointUri?: string; applicationId?: string; } export interface UpdateFlowJsonResult { success: boolean; validation_errors?: FlowValidationError[]; } export interface FlowSuccessResult { success: boolean; } export interface FlowListResult { data: FlowDetails[]; paging?: { cursors?: { before?: string; after?: string; }; next?: string; previous?: string; }; } export type FlowField = 'id' | 'name' | 'status' | 'categories' | 'validation_errors' | 'json_version' | 'data_api_version' | 'endpoint_uri' | 'preview' | 'whatsapp_business_account' | 'application'; export declare const DEFAULT_FLOW_FIELDS: FlowField[]; export interface FlowManagerOptions { version?: string; }