import { ExternalStatus, SetStatusOptionsOnExternalStatusDocument } from '../API';
import { CRUDService, ICrudService, ServiceMutationHookOptions } from '../core';
export declare class ExternalStatusService extends CRUDService<ExternalStatus> {
    protected hasOneModels: ICrudService<ExternalStatus>['hasOneModels'];
    get list(): (input: import("../API").Exact<{
        filter: import("../API").ExternalStatusFilter;
        paging: import("../API").CursorPaging;
        sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ExternalStatusesQuery, import("../API").Exact<{
        filter: import("../API").ExternalStatusFilter;
        paging: import("../API").CursorPaging;
        sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
    }>>>) => Promise<{
        __typename?: "ExternalStatusConnection";
        totalCount: number;
        edges: {
            __typename?: "ExternalStatusEdge";
            cursor: any;
            node: {
                __typename?: "ExternalStatus";
                color?: string;
                created_at: any;
                externalDescription?: string;
                groupKey?: string;
                groupName?: string;
                id: string;
                organizationID: string;
                type?: import("../API").SourceOfData;
                updated_at: any;
                value: string;
                statusOptions?: {
                    __typename?: "StatusOption";
                    id: string;
                    color?: string;
                    externalStatusID?: string;
                    value?: string;
                }[];
            };
        }[];
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: any;
            hasNextPage?: boolean;
            hasPreviousPage?: boolean;
            startCursor?: any;
        };
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ExternalStatusesQuery, import("../API").Exact<{
        filter: import("../API").ExternalStatusFilter;
        paging: import("../API").CursorPaging;
        sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").ExternalStatusesQuery, import("../API").Exact<{
            filter: import("../API").ExternalStatusFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
        }>>;
        data: import("../API").ExternalStatusesQuery;
        previousData?: import("../API").ExternalStatusesQuery;
        error?: import("@apollo/client").ApolloError;
        errors?: readonly import("graphql").GraphQLFormattedError[];
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").ExternalStatusesQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter: import("../API").ExternalStatusFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").ExternalStatusesQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter: import("../API").ExternalStatusFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
        }>>(mapFn: (previousQueryResult: import("../API").ExternalStatusesQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").ExternalStatusesQuery>, "variables">) => import("../API").ExternalStatusesQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter: import("../API").ExternalStatusFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ExternalStatusesQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter: import("../API").ExternalStatusFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
        }>, import("../API").ExternalStatusesQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ExternalStatusesQuery>>;
        variables: import("../API").Exact<{
            filter: import("../API").ExternalStatusFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
        }>;
        fetchMore: <TFetchData = import("../API").ExternalStatusesQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter: import("../API").ExternalStatusFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").ExternalStatusSort | import("../API").ExternalStatusSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").ExternalStatusesQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").ExternalStatusesQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    setStatusOptionsOnExternalStatus(options?: ServiceMutationHookOptions<typeof SetStatusOptionsOnExternalStatusDocument>): import("@apollo/client").MutationTuple<import("../API").SetStatusOptionsOnExternalStatusMutation, import("../API").Exact<{
        input: import("../API").SetStatusOptionsOnExternalStatusInput;
    }>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
}
