declare type THeader = { openapi: string; info: { description: string; version: string; title: string; contact: { email: string; }; license: { name: string; }; }; servers: { url: string; }[]; tags: { name: string; description: string; externalDocs: { description: string; url: string; }; }[]; }; declare type TParam = { name: string; schema: { type: string; format: string; }; in: string; description: string; required?: boolean; }; export declare function specPath({ integrationUuid, functionName, requestBody, response, oauth }: { integrationUuid: string; functionName: string; requestBody: any; response: any; oauth: boolean; }): { [x: string]: { post: { parameters: (TParam | { in: string; name: string; schema: { type: string; }; description: string; required: boolean; } | 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; }; }; }; }; }; }; }; }; }; }; export declare function topOfSpec(integrationName: string): THeader; export {};