import type { FastifyRequest, FastifyReply } from 'fastify'; import type { ModuleConfig, PageDefinition, WidgetDefinitionMeta } from '@rangka/shared'; import type { SchemaRegistry } from '../schema/registry.js'; export interface MetaBootContext { schemaRegistry: SchemaRegistry; pages: Array<{ module: string; page: PageDefinition; }>; modules: ModuleConfig[]; widgets?: WidgetDefinitionMeta[]; } /** * Creates the GET /meta/boot handler that returns everything * the client needs to render the shell: user info, permissions, * navigation tree, page definitions, and model metadata. */ export declare function createMetaBootHandler(ctx: MetaBootContext): (request: FastifyRequest, reply: FastifyReply) => Promise; //# sourceMappingURL=meta-handler.d.ts.map