import type { AttributeType } from '../../../../prisma/enums';
import type { AttributeId } from "../types";
type UserId = number;
export type Attribute = {
    name: string;
    slug: string;
    type: AttributeType;
    id: string;
    options: {
        id: string;
        value: string;
        slug: string;
    }[];
};
export type AttributeOptionValue = {
    value: string;
    isGroup: boolean;
    contains: {
        id: string;
        slug: string;
        value: string;
    }[];
};
export type AttributeOptionValueWithType = {
    type: Attribute["type"];
    attributeOption: AttributeOptionValue | AttributeOptionValue[];
};
export declare function getAttributesAssignmentData({ orgId, teamId }: {
    orgId: number;
    teamId: number;
}): Promise<{
    attributesOfTheOrg: {
        options: {
            value: string;
            id: string;
            slug: string;
            attributeId: string;
            isGroup: boolean;
            contains: string[];
        }[];
        type: import('../../../../prisma-client').$Enums.AttributeType;
        id: string;
        name: string;
        slug: string;
    }[];
    attributesAssignedToTeamMembersWithOptions: {
        userId: UserId;
        attributes: Record<AttributeId, AttributeOptionValueWithType>;
    }[];
}>;
export declare function getAttributesForTeam({ teamId }: {
    teamId: number;
}): Promise<{
    options: {
        value: string;
        id: string;
        slug: string;
        isGroup: boolean;
        contains: string[];
    }[];
    type: import('../../../../prisma-client').$Enums.AttributeType;
    id: string;
    name: string;
    slug: string;
    isWeightsEnabled: boolean;
}[]>;
export declare function getUsersAttributes({ userId, teamId }: {
    userId: number;
    teamId: number;
}): Promise<{
    options: {
        value: string;
        id: string;
        slug: string;
        isGroup: boolean;
        contains: string[];
    }[];
    type: import('../../../../prisma-client').$Enums.AttributeType;
    id: string;
    name: string;
    slug: string;
    isWeightsEnabled: boolean;
}[]>;
export {};
//# sourceMappingURL=getAttributes.d.ts.map