import type { PayloadRequest, Where } from 'payload'; import type { MultiTenantPluginConfig } from '../types.js'; type Args = { /** * If the document this filter is run belongs to a tenant, the tenant ID should be passed here. * If set, this will be used instead of the tenant cookie * Can be an array when hasMany is true */ docTenantID?: number | number[] | string | string[]; filterFieldName: string; req: PayloadRequest; tenantsArrayFieldName?: string; tenantsArrayTenantFieldName?: string; tenantsCollectionSlug: string; userHasAccessToAllTenants: Required>['userHasAccessToAllTenants']; }; export declare const filterDocumentsByTenants: ({ docTenantID, filterFieldName, req, tenantsArrayFieldName, tenantsArrayTenantFieldName, tenantsCollectionSlug, userHasAccessToAllTenants, }: Args) => null | Where; export {}; //# sourceMappingURL=filterDocumentsByTenants.d.ts.map