import { StatusOptionMap } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class StatusOptionMapService extends CRUDService<StatusOptionMap> {
    protected hasOneModels: ICrudService<StatusOptionMap>['hasOneModels'];
    get create(): (input: Partial<Record<"statusOptions", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<StatusOptionMap>, import("../../..").ModelWithId>> & Omit<import("../API").CreateStatusOptionMap, "statusOptions" | import("../core").HasOneRelationsOf<StatusOptionMap>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StatusOptionMapCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateStatusOptionMap;
    }>>>) => Promise<{
        __typename?: "StatusOptionMap";
        id: string;
        color?: string;
        value: string;
    }>;
    get update(): (input: Partial<Record<"statusOptions", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<StatusOptionMap>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateStatusOptionMap, "statusOptions" | import("../core").HasOneRelationsOf<StatusOptionMap>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StatusOptionMapUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneStatusOptionMapInput;
    }>>>) => Promise<{
        __typename?: "StatusOptionMap";
        id: string;
        color?: string;
        value: string;
    }>;
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StatusOptionMapDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneStatusOptionMapInput;
    }>>>) => Promise<{
        __typename?: "StatusOptionMapDeleteResponse";
        id?: string;
    }>;
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").StatusOptionMapGetQuery>, "query">) => Promise<{
        __typename?: "StatusOptionMap";
        id: string;
        color?: string;
        value: string;
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StatusOptionMapGetQuery, 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").StatusOptionMapGetQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").StatusOptionMapGetQuery;
        previousData?: import("../API").StatusOptionMapGetQuery;
        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").StatusOptionMapGetQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").StatusOptionMapGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").StatusOptionMapGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").StatusOptionMapGetQuery>, "variables">) => import("../API").StatusOptionMapGetQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").StatusOptionMapGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").StatusOptionMapGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").StatusOptionMapGetQuery>>;
        variables: import("../API").Exact<{
            id: string;
        }>;
        fetchMore: <TFetchData = import("../API").StatusOptionMapGetQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").StatusOptionMapGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").StatusOptionMapGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").StatusOptionMapFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StatusOptionMapListQuery, import("../API").Exact<{
        filter?: import("../API").StatusOptionMapFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
    }>>>) => Promise<{
        __typename?: "StatusOptionMapConnection";
        totalCount: number;
        edges: {
            __typename?: "StatusOptionMapEdge";
            node: {
                __typename?: "StatusOptionMap";
                id: string;
                color?: 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").StatusOptionMapListQuery, import("../API").Exact<{
        filter?: import("../API").StatusOptionMapFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").StatusOptionMapListQuery, import("../API").Exact<{
            filter?: import("../API").StatusOptionMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
        }>>;
        data: import("../API").StatusOptionMapListQuery;
        previousData?: import("../API").StatusOptionMapListQuery;
        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").StatusOptionMapListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").StatusOptionMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").StatusOptionMapListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").StatusOptionMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
        }>>(mapFn: (previousQueryResult: import("../API").StatusOptionMapListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").StatusOptionMapListQuery>, "variables">) => import("../API").StatusOptionMapListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").StatusOptionMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").StatusOptionMapListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").StatusOptionMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
        }>, import("../API").StatusOptionMapListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").StatusOptionMapListQuery>>;
        variables: import("../API").Exact<{
            filter?: import("../API").StatusOptionMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
        }>;
        fetchMore: <TFetchData = import("../API").StatusOptionMapListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").StatusOptionMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StatusOptionMapSort | import("../API").StatusOptionMapSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").StatusOptionMapListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").StatusOptionMapListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
