import type { OpenAPIDefinitions, RouteConfig } from '@asteasolutions/zod-to-openapi/dist/openapi-registry';
import type { Env, Schema } from 'hono';
import type { BlazeRouter } from '../../router/BlazeRouter';
import type { BlazeOpenAPIOption } from '../../types/router';
export declare function assignOpenAPIRegistry<E extends Env = Env, S extends Schema = NonNullable<unknown>, BasePath extends string = '/'>(router: BlazeRouter<E, S, BasePath>, docPath: string, def: OpenAPIDefinitions): void | import("zod").ZodTypeAny | {
    name: string;
    ref: {
        $ref: string;
    };
};
export declare function fixOpenApiPath(path: string): string;
export declare function createOpenApiRouter(route: BlazeOpenAPIOption): RouteConfig;
