declare type THeader = { openapi: string; info: { title: string; }; servers: { url: string; }[]; tags: {}[]; components: { securitySchemes: { [key: string]: { type: string; in: string; description: string; name: string; }; }; }; }; declare type TParam = { name: string; schema: { type: string; format?: string; }; in: string; description: string; required?: boolean; }; export declare function specPath({ buid, functionName, requestBody, response, oauth }: { buid: string; functionName: string; requestBody: any; response: any; oauth: boolean; }): { [x: string]: { post: { parameters: (TParam | undefined)[]; summary: string; requestBody: { content: { 'application/json': { schema: any; }; }; }; responses: { '200': { description: string; content: { 'application/json': { schema: any; }; }; }; '401': { description: string; content: { 'application/json': { schema: { type: string; properties: { error: { type: string; }; }; }; }; }; }; '403': { description: string; content: { 'application/json': { schema: { type: string; properties: { error: { type: string; }; }; }; }; }; }; }; security: { 'API Key': never[]; }[]; }; }; }; export declare function topOfSpec(integrationName: string): THeader; export {};