import { type Refkey } from "@alloy-js/core"; import type { Children } from "@alloy-js/core/jsx-runtime"; export interface RequestHandlerProps { /** * The name of the handler. */ name: string; /** * A zod schema which describes the request body. */ schema: Children; /** * The body of the request handler. */ children: (key: Refkey) => Children; } /** * Emits a call to `server.setRequestHandler`. The `schema` prop should be a * reference to a zod schema (or an inline zod schema) that describes the * request body. The `children` is the body of the request handler. */ export declare function RequestHandler(props: RequestHandlerProps): Children; //# sourceMappingURL=RequestHandler.d.ts.map