import type { AnyRouteContract } from '@amritk/api'; /** * Picks the route contracts out of a loaded routes module, keyed by export * name — exactly the record `compileToModule` expects, since the generated * module imports each contract back by that name. Non-contract exports * (context factories, error formatters, hooks) are left alone; they are wired * in by name through the compile options instead. */ export declare const collectRouteContracts: (moduleExports: Record) => Record;