import { ListMembersQuery } from '../../queries';
import { ComponentType } from 'react';
import { QueryRequestState } from '../../lib';
export type RoleRendererRoleDefinition = any;
export type RoleRenderer = React.FC<{
    role: string;
    variables: Variables;
}>;
export type RoleRendererFactory = (roleDefinitions: RoleRendererRoleDefinition[]) => 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;
//# sourceMappingURL=RoleRenderer.d.ts.map