import { IBakkuHttpError } from '../basic'; import { ISchemaCore, ISchemaGeneral } from './../validation'; export type ISchemaWithContentType = ISchemaGeneral & { bodyContentType?: string; useDifferentResponse?: boolean; }; export type RequestData = { [key: string]: ISchemaWithContentType; }; export type ResponseDataError = { error?: IBakkuHttpError | IBakkuHttpError[]; }; export type ResponseData = { successSchema?: ISchemaWithContentType; errorSchema?: ISchemaWithContentType; errorData?: { errors?: IBakkuHttpError[]; }; }; export type MethodDataType = { hideInDoc?: boolean; description?: string; request: RequestData; response: ResponseData; }; export type MethodPath = { [path: string]: { [method: string]: MethodDataType; }; }; export type ControllerApiData = { controllerName: string; description: string; hideInDoc?: boolean; apis: MethodPath; }; export type ControllerMethodPath = { [controllerPath: string]: ControllerApiData; }; export type TypeGetErrorSchema = () => ISchemaGeneral; export type TypeGetSuccessSchema = (dataSchema?: ISchemaCore) => ISchemaWithContentType | undefined; export declare const getDefaultErrorSchemaGlobal: TypeGetErrorSchema; export declare const getDefaultSuccessSchemaGlobal: TypeGetSuccessSchema; export type DefinitionType = { docPath: string; count: number; definitionHTMLs: { html: string; index: number; }[]; definitionHash: any; }; //# sourceMappingURL=api-collection.definition.d.ts.map