import type { JSONSchema7 } from '@mastra/schema-compat';
import type { ServerRoute } from './routes/index.js';
export interface ApiSchemaResponseShape {
    kind: 'array' | 'record' | 'object-property' | 'single' | 'unknown';
    listProperty?: string;
    paginationProperty?: string;
}
export interface ApiSchemaManifestRoute {
    method: string;
    path: string;
    responseType: string;
    pathParamSchema?: JSONSchema7;
    queryParamSchema?: JSONSchema7;
    bodySchema?: JSONSchema7;
    responseSchema?: JSONSchema7;
    responseShape: ApiSchemaResponseShape;
}
export interface ApiSchemaManifest {
    version: 1;
    routes: ApiSchemaManifestRoute[];
}
export declare function buildApiSchemaManifest(routes?: readonly ServerRoute[]): ApiSchemaManifest;
//# sourceMappingURL=api-schema-manifest.d.ts.map