import type { I18n } from '@payloadcms/translations';
import type { Permissions } from 'payload/auth';
import type { SanitizedCollectionConfig } from 'payload/types';
import type { SanitizedGlobalConfig } from 'payload/types';
export declare enum EntityType {
    collection = "collections",
    global = "globals"
}
export type EntityToGroup = {
    entity: SanitizedCollectionConfig;
    type: EntityType.collection;
} | {
    entity: SanitizedGlobalConfig;
    type: EntityType.global;
};
export type Group = {
    entities: EntityToGroup[];
    label: string;
};
export declare function groupNavItems(entities: EntityToGroup[], permissions: Permissions, i18n: I18n): Group[];
//# sourceMappingURL=groupNavItems.d.ts.map