import { ListMembersQuery } from '../../queries';
import { ComponentType } from 'react';
import { QueryRequestState } from '../../lib';
declare type RoleDefinition = any;
export declare type RoleRenderer = React.FC<{
    role: string;
    variables: Variables;
}>;
export declare type RoleRendererFactory = (roleDefinitions: RoleDefinition[]) => Promise<RoleRenderer>;
export interface Variables {
    [name: string]: string[];
}
export interface RoleRenderers<T> {
    [role: string]: ComponentType<{
        variables: Variables;
        rolesData: T;
    }>;
}
export declare const useRoleRenderer: (roleRendererFactory: RoleRendererFactory | undefined, query: QueryRequestState<ListMembersQuery>) => RoleRenderer | undefined;
export {};
//# sourceMappingURL=RoleRenderer.d.ts.map