import type { FlowDetails, FlowField, FlowListResult, CreateFlowOptions, CreateFlowResult, UpdateFlowMetadataOptions, UpdateFlowJsonResult, FlowSuccessResult, FlowPreview, FlowManagerOptions } from './FlowManager.types'; interface FlowJSONConvertible { toJSON(): object; } export declare function createFlowManager(wabaId: string, accessToken: string, options?: FlowManagerOptions): { create(createOptions: CreateFlowOptions): Promise; get(flowId: string, fields?: FlowField[]): Promise; list(fields?: FlowField[]): Promise; updateJson(flowId: string, flowJson: FlowJSONConvertible | object | string): Promise; updateMetadata(flowId: string, updateOptions: UpdateFlowMetadataOptions): Promise; publish(flowId: string): Promise; deprecate(flowId: string): Promise; delete(flowId: string): Promise; getPreview(flowId: string): Promise; setBusinessPublicKey(publicKey: string): Promise; }; export type FlowManager = ReturnType; export {};