import { ProcedureType } from '../enums'; export interface ProcedureInfo { name: string; type: ProcedureType; inputSchema?: any; outputSchema?: any; } export interface RouterInfo { alias?: string; procedures: ProcedureInfo[]; } export interface SchemaGeneratorOptions { /** * When the server is configured with a `transformer`, the generated * router type must reflect it so typed clients are required to * configure the matching link transformer. */ hasTransformer?: boolean; } /** * Generates a TypeScript file containing the typed `AppRouter` * for tRPC client consumption. * * The generated file is for **type inference only** — it uses placeholder * handlers that are never executed at runtime. This mirrors the * `autoSchemaFile` pattern from `@nestjs/graphql`. * * @internal */ export declare function generateSchema(routers: RouterInfo[], filePath: string, options?: SchemaGeneratorOptions): void; /** * Produces the TypeScript source for the generated AppRouter file. * Exported separately for testing. * * @internal */ export declare function generateSchemaContent(routers: RouterInfo[], options?: SchemaGeneratorOptions): string;