import { HostMap } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class HostMapService extends CRUDService<HostMap> {
    protected hasOneModels: ICrudService<HostMap>['hasOneModels'];
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").HostMapGetQuery>, "query">) => Promise<{
        __typename?: "HostMap";
        id: string;
        alias: string;
        cname?: string;
        created_at: any;
        dnsRecordUpdated: boolean;
        organizationID: string;
        portalID?: string;
        state?: import("../API").HostMapState;
        surveyID?: string;
        type: import("../API").HostMapType;
        updated_at: any;
        organization: {
            __typename?: "Organization";
            id: string;
            name: string;
        };
        portal?: {
            __typename?: "Portal";
            id: string;
            cname?: string;
        };
        survey?: {
            __typename?: "Survey";
            id: string;
            name: string;
        };
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapGetQuery, 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").HostMapGetQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").HostMapGetQuery;
        previousData?: import("../API").HostMapGetQuery;
        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").HostMapGetQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").HostMapGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").HostMapGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").HostMapGetQuery>, "variables">) => import("../API").HostMapGetQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").HostMapGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").HostMapGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").HostMapGetQuery>>;
        fetchMore: <TFetchData = import("../API").HostMapGetQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").HostMapGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").HostMapGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get create(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<HostMap>, import("../../..").ModelWithId>> & Omit<import("../API").CreateOneHostMapInput, import("../core").HasOneRelationsOf<HostMap>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateOneHostMapInput;
    }>>>) => Promise<{
        __typename?: "HostMap";
        id: string;
        alias: string;
        cname?: string;
        created_at: any;
        dnsRecordUpdated: boolean;
        organizationID: string;
        portalID?: string;
        state?: import("../API").HostMapState;
        surveyID?: string;
        type: import("../API").HostMapType;
        updated_at: any;
        organization: {
            __typename?: "Organization";
            id: string;
            name: string;
        };
        portal?: {
            __typename?: "Portal";
            id: string;
            cname?: string;
        };
        survey?: {
            __typename?: "Survey";
            id: string;
            name: string;
        };
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateOneHostMapInput;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateOneHostMapInput;
    }>>, HostMap>) => Promise<{
        __typename?: "HostMap";
        id: string;
        alias: string;
        cname?: string;
        created_at: any;
        dnsRecordUpdated: boolean;
        organizationID: string;
        portalID?: string;
        state?: import("../API").HostMapState;
        surveyID?: string;
        type: import("../API").HostMapType;
        updated_at: any;
        organization: {
            __typename?: "Organization";
            id: string;
            name: string;
        };
        portal?: {
            __typename?: "Portal";
            id: string;
            cname?: string;
        };
        survey?: {
            __typename?: "Survey";
            id: string;
            name: string;
        };
    }>, import("@apollo/client").MutationResult<any>];
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneHostMapInput;
    }>>>) => Promise<{
        __typename?: "HostMapDeleteResponse";
        id?: string;
    }>;
    get useDelete(): (options?: import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneHostMapInput;
    }>>>) => [(id?: string) => Promise<{
        __typename?: "HostMapDeleteResponse";
        id?: string;
    }>, import("@apollo/client").MutationResult<import("../API").HostMapDeleteOneMutation>];
    get update(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<HostMap>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateHostMap, import("../core").HasOneRelationsOf<HostMap>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneHostMapInput;
    }>>>) => Promise<{
        __typename?: "HostMap";
        id: string;
        alias: string;
        cname?: string;
        created_at: any;
        dnsRecordUpdated: boolean;
        organizationID: string;
        portalID?: string;
        state?: import("../API").HostMapState;
        surveyID?: string;
        type: import("../API").HostMapType;
        updated_at: any;
        organization: {
            __typename?: "Organization";
            id: string;
            name: string;
        };
        portal?: {
            __typename?: "Portal";
            id: string;
            cname?: string;
        };
        survey?: {
            __typename?: "Survey";
            id: string;
            name: string;
        };
    }>;
    get useUpdate(): (mainOptions?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneHostMapInput;
    }>>>>) => [({ id, ...input }: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<HostMap>, import("../../..").ModelWithId>> & import("../API").UpdateHostMap & {
        id: string;
    }, options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneHostMapInput;
    }>>>>) => Promise<any>, import("@apollo/client").MutationResult<any>];
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").HostMapFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapListQuery, import("../API").Exact<{
        filter?: import("../API").HostMapFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
    }>>>) => Promise<{
        __typename?: "HostMapConnection";
        edges: {
            __typename?: "HostMapEdge";
            node: {
                __typename?: "HostMap";
                id: string;
                alias: string;
                cname?: string;
                created_at: any;
                dnsRecordUpdated: boolean;
                organizationID: string;
                portalID?: string;
                state?: import("../API").HostMapState;
                surveyID?: string;
                type: import("../API").HostMapType;
                updated_at: any;
                organization: {
                    __typename?: "Organization";
                    id: string;
                    name: string;
                };
                portal?: {
                    __typename?: "Portal";
                    id: string;
                    cname?: string;
                };
                survey?: {
                    __typename?: "Survey";
                    id: string;
                    name: string;
                };
            };
        }[];
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: any;
            startCursor?: any;
            hasNextPage?: boolean;
            hasPreviousPage?: boolean;
        };
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").HostMapListQuery, import("../API").Exact<{
        filter?: import("../API").HostMapFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").HostMapListQuery, import("../API").Exact<{
            filter?: import("../API").HostMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
        }>>;
        data: import("../API").HostMapListQuery;
        previousData?: import("../API").HostMapListQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            filter?: import("../API").HostMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").HostMapListQuery, TSubscriptionVariables = import("../API").Exact<{
            filter?: import("../API").HostMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").HostMapListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            filter?: import("../API").HostMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
        }>>(mapFn: (previousQueryResult: import("../API").HostMapListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").HostMapListQuery>, "variables">) => import("../API").HostMapListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").HostMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").HostMapListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").HostMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
        }>, import("../API").HostMapListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").HostMapListQuery>>;
        fetchMore: <TFetchData = import("../API").HostMapListQuery, TFetchVars = import("../API").Exact<{
            filter?: import("../API").HostMapFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").HostMapSort | import("../API").HostMapSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").HostMapListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").HostMapListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
