import { DynamicScoreValue } from '../API';
import { ApolloClientService, CRUDService, ICrudService } from '../core';
import { DynamicScoreConditionService } from './dynamic-score-condition.services';
export declare class DynamicScoreValueService extends CRUDService<DynamicScoreValue> {
    protected hasOneModels: ICrudService<DynamicScoreValue>['hasOneModels'];
    protected hasManyModels: ICrudService<DynamicScoreValue>['hasManyModels'];
    protected dynamicScoreConditionService: DynamicScoreConditionService;
    constructor(client: ApolloClientService, dynamicScoreConditionService: DynamicScoreConditionService);
    get create(): (input: Partial<Record<"automations" | "scoreConditions" | "users" | "accounts" | "actions" | "valueMaps" | "dynamicScoreValueMembers" | "playbooks", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<DynamicScoreValue>, import("../../..").ModelWithId>> & Omit<import("../API").CreateDynamicScoreValue, "automations" | "scoreConditions" | "users" | "accounts" | "actions" | "valueMaps" | "dynamicScoreValueMembers" | "playbooks" | import("../core").HasOneRelationsOf<DynamicScoreValue>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateDynamicScoreValue;
    }>>>) => Promise<{
        __typename?: "DynamicScoreValue";
        id: string;
        name: string;
        rank: number;
        color: import("../API").Color;
        threshold?: number;
        indicatesRiskOrExpansion?: boolean;
        riskOrEQLAmount?: number;
        dynamicScoreID?: string;
        scoreConditions?: {
            __typename?: "DynamicScoreCondition";
            id: string;
            name?: string;
            type: import("../API").DynamicScoreConditionType;
            points?: number;
            queryLiteral?: any[][];
            dynamicScoreID: string;
        }[];
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateDynamicScoreValue;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateDynamicScoreValue;
    }>>, DynamicScoreValue>) => Promise<{
        __typename?: "DynamicScoreValue";
        id: string;
        name: string;
        rank: number;
        color: import("../API").Color;
        threshold?: number;
        indicatesRiskOrExpansion?: boolean;
        riskOrEQLAmount?: number;
        dynamicScoreID?: string;
        scoreConditions?: {
            __typename?: "DynamicScoreCondition";
            id: string;
            name?: string;
            type: import("../API").DynamicScoreConditionType;
            points?: number;
            queryLiteral?: any[][];
            dynamicScoreID: string;
        }[];
    }>, import("@apollo/client").MutationResult<any>];
    get update(): (input: Partial<Record<"automations" | "scoreConditions" | "users" | "accounts" | "actions" | "valueMaps" | "dynamicScoreValueMembers" | "playbooks", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<DynamicScoreValue>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateDynamicScoreValue, "automations" | "scoreConditions" | "users" | "accounts" | "actions" | "valueMaps" | "dynamicScoreValueMembers" | "playbooks" | import("../core").HasOneRelationsOf<DynamicScoreValue>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneDynamicScoreValueInput;
    }>>>) => Promise<{
        __typename?: "DynamicScoreValue";
        id: string;
        name: string;
        rank: number;
        color: import("../API").Color;
        threshold?: number;
        indicatesRiskOrExpansion?: boolean;
        riskOrEQLAmount?: number;
        dynamicScoreID?: string;
        scoreConditions?: {
            __typename?: "DynamicScoreCondition";
            id: string;
            name?: string;
            type: import("../API").DynamicScoreConditionType;
            points?: number;
            queryLiteral?: any[][];
            dynamicScoreID: string;
        }[];
    }>;
    get useUpdate(): (mainOptions?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneDynamicScoreValueInput;
    }>>>>) => [({ id, ...input }: Partial<Record<"automations" | "scoreConditions" | "users" | "accounts" | "actions" | "valueMaps" | "dynamicScoreValueMembers" | "playbooks", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<DynamicScoreValue>, import("../../..").ModelWithId>> & import("../API").UpdateDynamicScoreValue & {
        id: string;
    }, options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneDynamicScoreValueInput;
    }>>>>) => Promise<any>, import("@apollo/client").MutationResult<any>];
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneDynamicScoreValueInput;
    }>>>) => Promise<{
        __typename?: "DynamicScoreValueDeleteResponse";
        id?: string;
    }>;
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").DynamicScoreValueGetQuery>, "query">) => Promise<{
        __typename?: "DynamicScoreValue";
        id: string;
        name: string;
        rank: number;
        color: import("../API").Color;
        threshold?: number;
        indicatesRiskOrExpansion?: boolean;
        riskOrEQLAmount?: number;
        dynamicScoreID?: string;
        scoreConditions?: {
            __typename?: "DynamicScoreCondition";
            id: string;
            name?: string;
            type: import("../API").DynamicScoreConditionType;
            points?: number;
            queryLiteral?: any[][];
            dynamicScoreID: string;
        }[];
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueGetQuery, import("../API").Exact<{
        id: string;
    }>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").DynamicScoreValueGetQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").DynamicScoreValueGetQuery;
        previousData?: import("../API").DynamicScoreValueGetQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            id: string;
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").DynamicScoreValueGetQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").DynamicScoreValueGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").DynamicScoreValueGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").DynamicScoreValueGetQuery>, "variables">) => import("../API").DynamicScoreValueGetQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").DynamicScoreValueGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").DynamicScoreValueGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").DynamicScoreValueGetQuery>>;
        fetchMore: <TFetchData = import("../API").DynamicScoreValueGetQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").DynamicScoreValueGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").DynamicScoreValueGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").DynamicScoreValueFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueListQuery, import("../API").Exact<{
        filter?: import("../API").DynamicScoreValueFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
    }>>>) => Promise<{
        __typename?: "DynamicScoreValueConnection";
        totalCount: number;
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: any;
            hasNextPage?: boolean;
            hasPreviousPage?: boolean;
            startCursor?: any;
        };
        edges: {
            __typename?: "DynamicScoreValueEdge";
            cursor: any;
            node: {
                __typename?: "DynamicScoreValue";
                id: string;
                name: string;
                rank: number;
                color: import("../API").Color;
                threshold?: number;
                indicatesRiskOrExpansion?: boolean;
                riskOrEQLAmount?: number;
                dynamicScoreID?: string;
                scoreConditions?: {
                    __typename?: "DynamicScoreCondition";
                    id: string;
                    name?: string;
                    type: import("../API").DynamicScoreConditionType;
                    points?: number;
                    queryLiteral?: any[][];
                    dynamicScoreID: string;
                }[];
            };
        }[];
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DynamicScoreValueListQuery, import("../API").Exact<{
        filter?: import("../API").DynamicScoreValueFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").DynamicScoreValueListQuery, import("../API").Exact<{
            filter?: import("../API").DynamicScoreValueFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
        }>>;
        data: import("../API").DynamicScoreValueListQuery;
        previousData?: import("../API").DynamicScoreValueListQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            filter?: import("../API").DynamicScoreValueFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").DynamicScoreValueListQuery, TSubscriptionVariables = import("../API").Exact<{
            filter?: import("../API").DynamicScoreValueFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").DynamicScoreValueListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            filter?: import("../API").DynamicScoreValueFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
        }>>(mapFn: (previousQueryResult: import("../API").DynamicScoreValueListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").DynamicScoreValueListQuery>, "variables">) => import("../API").DynamicScoreValueListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").DynamicScoreValueFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").DynamicScoreValueListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").DynamicScoreValueFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
        }>, import("../API").DynamicScoreValueListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").DynamicScoreValueListQuery>>;
        fetchMore: <TFetchData = import("../API").DynamicScoreValueListQuery, TFetchVars = import("../API").Exact<{
            filter?: import("../API").DynamicScoreValueFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").DynamicScoreValueSort | import("../API").DynamicScoreValueSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").DynamicScoreValueListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").DynamicScoreValueListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useValueMembersCounts(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ScoreValueMemberCountWithConditionsQuery, import("../API").Exact<{
        input: import("../API").ScoreValueMemberCountWithConditionsInput;
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").ScoreValueMemberCountWithConditionsQuery, import("../API").Exact<{
            input: import("../API").ScoreValueMemberCountWithConditionsInput;
        }>>;
        data: import("../API").ScoreValueMemberCountWithConditionsQuery;
        previousData?: import("../API").ScoreValueMemberCountWithConditionsQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            input: import("../API").ScoreValueMemberCountWithConditionsInput;
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").ScoreValueMemberCountWithConditionsQuery, TSubscriptionVariables = import("../API").Exact<{
            input: import("../API").ScoreValueMemberCountWithConditionsInput;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").ScoreValueMemberCountWithConditionsQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            input: import("../API").ScoreValueMemberCountWithConditionsInput;
        }>>(mapFn: (previousQueryResult: import("../API").ScoreValueMemberCountWithConditionsQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").ScoreValueMemberCountWithConditionsQuery>, "variables">) => import("../API").ScoreValueMemberCountWithConditionsQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            input: import("../API").ScoreValueMemberCountWithConditionsInput;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ScoreValueMemberCountWithConditionsQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            input: import("../API").ScoreValueMemberCountWithConditionsInput;
        }>, import("../API").ScoreValueMemberCountWithConditionsQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ScoreValueMemberCountWithConditionsQuery>>;
        fetchMore: <TFetchData = import("../API").ScoreValueMemberCountWithConditionsQuery, TFetchVars = import("../API").Exact<{
            input: import("../API").ScoreValueMemberCountWithConditionsInput;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").ScoreValueMemberCountWithConditionsQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").ScoreValueMemberCountWithConditionsQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useListMembers(): (input: import("../API").Exact<{
        filter?: import("../API").DynamicScoreValueMemberFilter;
        sorting?: import("../API").DynamicScoreValueMemberSort | import("../API").DynamicScoreValueMemberSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ScoreValueMembershipsQuery, import("../API").Exact<{
        filter?: import("../API").DynamicScoreValueMemberFilter;
        sorting?: import("../API").DynamicScoreValueMemberSort | import("../API").DynamicScoreValueMemberSort[];
    }>>>) => Promise<{
        __typename?: "DynamicScoreValueMemberConnection";
        edges: {
            __typename?: "DynamicScoreValueMemberEdge";
            node: {
                __typename?: "DynamicScoreValueMember";
                scoreMemberState?: import("../API").DynamicScoreValueState;
                accountsCount?: number;
                conditionCounts?: any;
                dynamicScoreValue?: {
                    __typename?: "DynamicScoreValue";
                    id: string;
                    name: string;
                    rank: number;
                    color: import("../API").Color;
                    threshold?: number;
                    indicatesRiskOrExpansion?: boolean;
                    riskOrEQLAmount?: number;
                    dynamicScoreID?: string;
                    scoreConditions?: {
                        __typename?: "DynamicScoreCondition";
                        id: string;
                        name?: string;
                        type: import("../API").DynamicScoreConditionType;
                        points?: number;
                        queryLiteral?: any[][];
                        dynamicScoreID: string;
                    }[];
                };
            };
        }[];
    }>;
}
