import type { ResponseSpec, Function, MacroFunction } from '../types';
declare const _default: (apiUrl: string) => {
    getAllFunctions: (sessionId: string) => Promise<ResponseSpec & {
        count: number;
        functions: Function[];
    }>;
    getFunctionsPaginated: (sessionId: string, from: number, howMany: number) => Promise<ResponseSpec & {
        count: number;
        functions: Function[];
    }>;
    getFunction: (sessionId: string, functionID: string) => Promise<ResponseSpec & {
        function: Function;
    }>;
    patchFunction: (sessionId: string, func: Partial<Function> & {
        functionID: string;
    }) => Promise<ResponseSpec>;
    deleteFunction: (sessionId: string, functionID: string) => Promise<ResponseSpec>;
    createFunction: (sessionId: string, func: Function) => Promise<ResponseSpec & {
        functionID: string;
    }>;
    getMacroFunctions: (sessionId: string) => Promise<ResponseSpec & {
        count: number;
        macroFunctions: MacroFunction[];
    }>;
};
export default _default;
