import './zod-extend'; import '../controllers'; import type { RouteConfig } from '@asteasolutions/zod-to-openapi'; import type { ResponseDtoClass } from '@n8n/decorators'; import { z } from 'zod'; import type { ResolvedPublicApiRoute } from '../../../public-api/public-api-route-resolver'; export declare const ERROR_RESPONSE_REFS: { readonly 400: { readonly $ref: '../../../../shared/spec/responses/badRequest.yml'; }; readonly 401: { readonly $ref: '../../../../shared/spec/responses/unauthorized.yml'; }; readonly 402: { readonly $ref: '../../../../shared/spec/responses/paymentRequired.yml'; }; readonly 403: { readonly $ref: '../../../../shared/spec/responses/forbidden.yml'; }; readonly 404: { readonly $ref: '../../../../shared/spec/responses/notFound.yml'; }; readonly 409: { readonly $ref: '../../../../shared/spec/responses/conflict.yml'; }; readonly 415: { readonly $ref: '../../../../shared/spec/responses/unsupportedMediaType.yml'; }; readonly 422: { readonly $ref: '../../../../shared/spec/responses/unprocessableEntity.yml'; }; readonly 503: { readonly $ref: '../../../../shared/spec/responses/serviceUnavailable.yml'; }; }; type DocumentedErrorStatus = keyof typeof ERROR_RESPONSE_REFS; export declare const ERROR_RESPONSE_DESCRIPTIONS: Record; export type NamedResponseDto = ResponseDtoClass & { schema: z.ZodTypeAny; name: string; }; export type SchemaResolver = (dto: NamedResponseDto, schema: z.ZodTypeAny) => z.ZodTypeAny; export declare function getSharedResponseSchemas(): Map; export declare function buildRequestBodyJsonSchema(route: ResolvedPublicApiRoute): Record | undefined; export interface GeneratedDecoratorOperation { outputPath: string; pathKey: string; method: RouteConfig['method']; config: RouteConfig; } export declare function getDecoratorGeneratedOperations(resolveSchema?: SchemaResolver): GeneratedDecoratorOperation[]; export {};