import type { UnknownRestBinding } from '../rest-bindings.ts'; /** * Find a REST binding that matches the request's method and path. * Returns null if no binding matches. Delegates path resolution to the * canonical `bindingPathMatches` helper, keeping segment and parameter * matching consistent across dispatch and documentation. */ export declare function matchRestBinding(method: string, pathname: string, bindings: ReadonlyArray | undefined): { readonly binding: UnknownRestBinding; readonly pathParams: Record; } | null;