import type { CloudConfig } from '@alipay/faas-server-utils';
import type { OpenapiConfig } from '../types';
import type { Openapi } from '../types/openapi/api';
import { OpenapiCaller, OpenapiCallerOptions } from './caller';
export type OpenapiFunction = Openapi & {
    (config?: OpenapiConfig): Openapi;
};
export { OpenapiCaller } from './caller';
export declare function createOpenapiCaller(options: OpenapiCallerOptions): OpenapiCaller;
export declare function createOpenapi(config: CloudConfig): OpenapiFunction;
