import { Permission } from "../../meta/core/resources/permissions/permission.resource";
export declare function getAllResourceIds(): Promise<string[]>;
export declare function createRoleToPackage(roleId: string, permissionPackageId: string): Promise<void>;
/**
 * Create role to permission if it doesn't exist.
 *
 * @param roleId - The Id of the role.
 * @param permissionIds - The Ids of the permissions.
 */
export declare function createRoleToPermissionIfNotExist(roleId: string, permissionIds: string[]): Promise<void>;
export declare function addCommonPermissions(permissionIds: string[], resourceToPermissions: Map<string, Map<string, Permission>>): void;
