import type { Collection, ColumnSchema } from '@forestadmin/datasource-toolkit'; export declare function lenientGetSchema(collection: Collection, path: string): { field: string; schema: ColumnSchema; } | null; /** * The field paths a search string reaches through the `relation.column:term` syntax, resolved * fuzzily and across to-many relations too. * * Unused by the decorator, which derives its own footprint from `getSearchableFields` so the paths * it reports and the ones it searches cannot diverge. Kept only because it has been exported from * the package index since 1.71.x; nothing keeps it in step with what a search actually reads. */ export declare function getSearchedFieldPaths(collection: Collection, search: string): string[]; /** * The collection a path's last column belongs to — the one a read permission applies to. A prefix * that names no relation throws rather than falling back to `collection`, which the caller pins to * readable: an unresolvable path must not read as an allowed one. */ export declare function getLeafCollectionName(collection: Collection, path: string): string; //# sourceMappingURL=field-paths.d.ts.map