import { ComponentType, Dispatch, FC, SetStateAction } from 'react';
import { Membership } from '../../types';
export interface VariableConfig {
    render: ComponentType<{
        value: string[];
        onChange: (newValues: string[]) => void;
    }>;
}
export type VariablesConfig = {
    [K in string]?: VariableConfig;
};
export interface RoleConfig {
    name: string;
    variables: VariablesConfig;
}
export type RolesConfig = {
    [K in string]?: RoleConfig;
};
export interface EditMembershipProps {
    project: string;
    memberships: (Membership | undefined)[];
    setMemberships: Dispatch<SetStateAction<(Membership | undefined)[]>>;
    rolesConfig?: RolesConfig;
}
/**
 * @group Tenant
 */
export declare const EditMembership: FC<EditMembershipProps>;
//# sourceMappingURL=EditMembership.d.ts.map