import { TypeOption } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class TypeOptionService extends CRUDService<TypeOption> {
    protected hasOneModels: ICrudService<TypeOption>['hasOneModels'];
    get create(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<TypeOption>, import("../../..").ModelWithId>> & Omit<import("../API").CreateTypeOption, import("../core").HasOneRelationsOf<TypeOption>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TypeOptionCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateTypeOption;
    }>>>) => Promise<{
        __typename?: "TypeOption";
        id: string;
        organizationID: string;
        value: string;
    }>;
    get update(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<TypeOption>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateTypeOption, import("../core").HasOneRelationsOf<TypeOption>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TypeOptionUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneTypeOptionInput;
    }>>>) => Promise<{
        __typename?: "TypeOption";
        id: string;
        organizationID: string;
        value: string;
        inbox: {
            __typename?: "Inbox";
            id: string;
        };
    }>;
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TypeOptionDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneTypeOptionInput;
    }>>>) => Promise<{
        __typename?: "TypeOptionDeleteResponse";
        id?: string;
    }>;
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").TypeOptionGetQuery>, "query">) => Promise<{
        __typename?: "TypeOption";
        id: string;
        value: string;
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TypeOptionGetQuery, 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").TypeOptionGetQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").TypeOptionGetQuery;
        previousData?: import("../API").TypeOptionGetQuery;
        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").TypeOptionGetQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").TypeOptionGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").TypeOptionGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").TypeOptionGetQuery>, "variables">) => import("../API").TypeOptionGetQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TypeOptionGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").TypeOptionGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TypeOptionGetQuery>>;
        fetchMore: <TFetchData = import("../API").TypeOptionGetQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").TypeOptionGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").TypeOptionGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").TypeOptionFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TypeOptionListQuery, import("../API").Exact<{
        filter?: import("../API").TypeOptionFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
    }>>>) => Promise<{
        __typename?: "TypeOptionConnection";
        edges: {
            __typename?: "TypeOptionEdge";
            node: {
                __typename?: "TypeOption";
                id: string;
                organizationID: string;
                value: string;
                inbox: {
                    __typename?: "Inbox";
                    id: string;
                };
            };
        }[];
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TypeOptionListQuery, import("../API").Exact<{
        filter?: import("../API").TypeOptionFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").TypeOptionListQuery, import("../API").Exact<{
            filter?: import("../API").TypeOptionFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
        }>>;
        data: import("../API").TypeOptionListQuery;
        previousData?: import("../API").TypeOptionListQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            filter?: import("../API").TypeOptionFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").TypeOptionListQuery, TSubscriptionVariables = import("../API").Exact<{
            filter?: import("../API").TypeOptionFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").TypeOptionListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            filter?: import("../API").TypeOptionFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
        }>>(mapFn: (previousQueryResult: import("../API").TypeOptionListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").TypeOptionListQuery>, "variables">) => import("../API").TypeOptionListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").TypeOptionFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TypeOptionListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").TypeOptionFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
        }>, import("../API").TypeOptionListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TypeOptionListQuery>>;
        fetchMore: <TFetchData = import("../API").TypeOptionListQuery, TFetchVars = import("../API").Exact<{
            filter?: import("../API").TypeOptionFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TypeOptionSort | import("../API").TypeOptionSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").TypeOptionListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").TypeOptionListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
