import { Service } from '@purista/core'; import { z } from 'zod'; /** * Default base path for generated HTTP command and stream endpoints. */ export declare const DEFAULT_API_MOUNT_PATH = "/api"; /** * Default maximum size, in bytes, accepted for an HTTP request body. * * Applications that intentionally accept larger payloads must set * `maxRequestBodyBytes` explicitly in the Hono service configuration. */ export declare const DEFAULT_MAX_REQUEST_BODY_BYTES: number; /** * Default OpenAPI info block used when no application-specific metadata is supplied. */ export declare const OPENAPI_DEFAULT_INFO: { title: string; description: string; version: string; }; /** Schema for OpenAPI external documentation objects. */ export declare const ExternalDocumentationObjectSchema: z.ZodObject<{ description: z.ZodOptional; url: z.ZodString; }, z.core.$strip>; /** Schema for OpenAPI tag objects. */ export declare const TagObjectSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; externalDocs: z.ZodOptional; url: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; /** Schema for the OpenAPI info object. */ export declare const InfoObjectSchema: z.ZodObject<{ title: z.ZodDefault; description: z.ZodDefault; termsOfService: z.ZodOptional; contact: z.ZodOptional; url: z.ZodOptional; email: z.ZodOptional; }, z.core.$strip>>; license: z.ZodOptional; }, z.core.$strip>>; version: z.ZodDefault; }, z.core.$strip>; /** Schema for OpenAPI server objects. */ export declare const ServerObjectSchema: z.ZodObject<{ url: z.ZodString; description: z.ZodOptional; variables: z.ZodOptional; }, z.core.$strip>; /** Schema for RFC 9457 problem details configuration. */ export declare const ProblemDetailsObjectSchema: z.ZodObject<{ typeBaseUri: z.ZodOptional; }, z.core.$strip>; /** * Runtime configuration schema for the Hono HTTP service. * * Defaults keep the server explicit: health can be enabled separately, * generated OpenAPI is enabled, and dynamic route registration is disabled * unless the application opts in. */ export declare const honoServiceV1ConfigSchema: z.ZodObject<{ logLevel: z.ZodDefault>>; enableDynamicRoutes: z.ZodDefault; streamRequestTimeoutMs: z.ZodDefault>; maxRequestBodyBytes: z.ZodDefault>; apiMountPath: z.ZodDefault>; enableHealth: z.ZodDefault>; healthPath: z.ZodDefault>; autoRegisterServicesFromConfig: z.ZodDefault>; healthFunction: z.ZodOptional; protectHandler: z.ZodOptional; services: z.ZodDefault, Service>>>>; traceHeaderField: z.ZodDefault; problemDetails: z.ZodOptional; }, z.core.$strip>>; openApi: z.ZodOptional; enabled: z.ZodDefault>; info: z.ZodObject<{ title: z.ZodDefault; description: z.ZodDefault; termsOfService: z.ZodOptional; contact: z.ZodOptional; url: z.ZodOptional; email: z.ZodOptional; }, z.core.$strip>>; license: z.ZodOptional; }, z.core.$strip>>; version: z.ZodDefault; }, z.core.$strip>; servers: z.ZodOptional; variables: z.ZodOptional; }, z.core.$strip>>>; components: z.ZodOptional; security: z.ZodOptional>; externalDocs: z.ZodOptional; url: z.ZodString; }, z.core.$strip>>; tags: z.ZodOptional; externalDocs: z.ZodOptional; url: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>>; paths: z.ZodOptional>>; }, z.core.$strip>>; }, z.core.$strip>; /** * Partial Hono service config accepted by `honoV1Service.getInstance`. * * Missing values are filled by {@link honoServiceV1ConfigSchema}. */ export type HonoServiceV1ConfigPartial = z.input; /** * Fully parsed Hono service config with defaults applied. */ export type HonoServiceV1Config = z.output; //# sourceMappingURL=honoServiceConfig.d.ts.map