/** @deprecated */
export declare function useFlows(): {
    flows: import("../../flows").Flow[];
    config: {
        flows: {
            [x: string]: {
                tasks?: {
                    [x: string]: {
                        type: "log" | "fetch" | "render" | "subflow";
                        params: {
                            method?: string | undefined;
                            headers?: {
                                key: string;
                                value: string;
                            }[] | undefined;
                            body?: string | undefined;
                            normal?: number | undefined;
                            url: string;
                        } | {
                            delay: number;
                        } | {
                            render: string;
                        } | {
                            flow?: any;
                            input?: any;
                            loop?: boolean | undefined;
                        };
                    };
                } | undefined;
                connections?: {
                    [x: string]: {
                        config: {
                            condition?: {
                                type: "success";
                            } | {
                                type: "error";
                            } | {
                                value: string;
                                type: "matches";
                                path: string;
                            } | undefined;
                            max_retries?: number | undefined;
                        };
                        target: string;
                        source: string;
                    };
                } | undefined;
                start_task?: string | undefined;
                responding_task?: string | undefined;
                trigger: {
                    config?: {
                        mode: "sync" | "async";
                    } | {
                        event: string;
                        mode: "sync" | "async";
                    } | {
                        path: string;
                        mode: "sync" | "async";
                        method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
                        response_type: "html" | "json" | "text";
                    } | undefined;
                    type: "manual" | "event" | "http";
                };
            };
        };
        basepath: string;
    };
};
/** @deprecated */
export declare function useFlow(name: string): {
    flow: import("../../flows").Flow;
    config: any;
};
