import type { FieldsPermissions } from '../../auth/types.js'; import type { FlattenedField } from '../../fields/config/types.js'; import type { PayloadRequest } from '../../types/index.js'; /** * A block path has no slug, so every schema contributing to that path must allow it. * Undefined means this schema does not contain the path, rather than granting access. * These are schema permissions: callbacks depending on document or row data must * deny access when that data is absent to prevent querying those fields. */ export declare function hasReadAccessToQueryPath({ fields, isParentLocalized, isRelatedToMany, path, permissions, relatedCollectionSlug, req, shouldShowHiddenFields, }: { fields: FlattenedField[]; isParentLocalized?: boolean; isRelatedToMany?: boolean; path: string[]; permissions?: FieldsPermissions; relatedCollectionSlug?: string; req: PayloadRequest; shouldShowHiddenFields?: boolean; }): boolean | undefined; //# sourceMappingURL=hasReadAccessToQueryPath.d.ts.map