import type { ViewManifest } from "@aotter/mantle-spec"; /** * Coerce a public REST query string into the typed param map declared * by `View.spec.params`. v0.1 grammar covers scalar leaves only — * string / integer / number / boolean / enum. `required` is enforced; * unknown query keys are silently ignored (lenient v0.1.0). * * Lives in `mantle-runtime` (not the CF adapter) so future adapters * share one coercion path. Throws a * `ViewParamCoercionError` so the adapter can map the message into its * own diagnostic envelope without parsing prose. */ export declare class ViewParamCoercionError extends Error { constructor(message: string); } export interface ViewParamLookup { get(name: string): string | null; } export declare function coerceViewParams(view: ViewManifest, query: ViewParamLookup): Record; //# sourceMappingURL=ViewParamCoercer.d.ts.map