import { Threshold } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class ThresholdService extends CRUDService<Threshold> {
    protected hasOneModels: ICrudService<Threshold>['hasOneModels'];
    get create(): (input: Partial<Record<"aIModels", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Threshold>, import("../../..").ModelWithId>> & Omit<import("../API").CreateThreshold, "aIModels" | import("../core").HasOneRelationsOf<Threshold>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThresholdCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateThreshold;
    }>>>) => Promise<{
        __typename: "Threshold";
        AIModelID: string;
        created_at: any;
        id: string;
        name?: string;
        organizationID: string;
        updated_at: any;
        value?: number;
    }>;
    get update(): (input: Partial<Record<"aIModels", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Threshold>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateThreshold, "aIModels" | import("../core").HasOneRelationsOf<Threshold>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThresholdUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneThresholdInput;
    }>>>) => Promise<{
        __typename: "Threshold";
        AIModelID: string;
        created_at: any;
        id: string;
        name?: string;
        organizationID: string;
        updated_at: any;
        value?: number;
    }>;
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThresholdDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneThresholdInput;
    }>>>) => Promise<{
        __typename?: "ThresholdDeleteResponse";
        id?: string;
    }>;
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").ThresholdGetQuery>, "query">) => Promise<{
        __typename: "Threshold";
        AIModelID: string;
        created_at: any;
        id: string;
        name?: string;
        organizationID: string;
        updated_at: any;
        value?: number;
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThresholdGetQuery, 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").ThresholdGetQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").ThresholdGetQuery;
        previousData?: import("../API").ThresholdGetQuery;
        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").ThresholdGetQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").ThresholdGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").ThresholdGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").ThresholdGetQuery>, "variables">) => import("../API").ThresholdGetQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ThresholdGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").ThresholdGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ThresholdGetQuery>>;
        fetchMore: <TFetchData = import("../API").ThresholdGetQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").ThresholdGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").ThresholdGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").ThresholdFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThresholdListQuery, import("../API").Exact<{
        filter?: import("../API").ThresholdFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
    }>>>) => Promise<{
        __typename?: "ThresholdConnection";
        totalCount: number;
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: any;
            hasNextPage?: boolean;
            hasPreviousPage?: boolean;
            startCursor?: any;
        };
        edges: {
            __typename?: "ThresholdEdge";
            cursor: any;
            node: {
                __typename: "Threshold";
                AIModelID: string;
                created_at: any;
                id: string;
                name?: string;
                organizationID: string;
                updated_at: any;
                value?: number;
            };
        }[];
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThresholdListQuery, import("../API").Exact<{
        filter?: import("../API").ThresholdFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").ThresholdListQuery, import("../API").Exact<{
            filter?: import("../API").ThresholdFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
        }>>;
        data: import("../API").ThresholdListQuery;
        previousData?: import("../API").ThresholdListQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            filter?: import("../API").ThresholdFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").ThresholdListQuery, TSubscriptionVariables = import("../API").Exact<{
            filter?: import("../API").ThresholdFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").ThresholdListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            filter?: import("../API").ThresholdFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
        }>>(mapFn: (previousQueryResult: import("../API").ThresholdListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").ThresholdListQuery>, "variables">) => import("../API").ThresholdListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").ThresholdFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ThresholdListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").ThresholdFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
        }>, import("../API").ThresholdListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ThresholdListQuery>>;
        fetchMore: <TFetchData = import("../API").ThresholdListQuery, TFetchVars = import("../API").Exact<{
            filter?: import("../API").ThresholdFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ThresholdSort | import("../API").ThresholdSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").ThresholdListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").ThresholdListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
