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