export interface Role {
    id: string;
    tag: string;
}
export declare type TreeItem = {
    id: string;
    children: TreeItem[];
    title: string;
};
export declare const getRolesTree: (keyword?: string) => Promise<TreeItem[]>;
export declare const getRolesForUser: (userId: string) => Promise<Role[]>;
