import { ApolloClientService, ServiceQueryHookOptions } from '@parlor/contexts/services-2/core';
import { CreateAirtableTaskMutationVariables, TransformParativeObjectDocument } from '../../API';
import { IntegrationDocumentService } from './../integration-document.service';
import { TaskService } from './../task.service';
export declare class AirtableService {
    protected client: ApolloClientService;
    protected integrationDocumentService: IntegrationDocumentService;
    protected taskService: TaskService;
    constructor(client: ApolloClientService, integrationDocumentService: IntegrationDocumentService, taskService: TaskService);
    transformParativeObject: (options?: ServiceQueryHookOptions<typeof TransformParativeObjectDocument>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../../API").TransformParativeObjectQuery, import("../../API").Exact<{
            input: import("../../API").TransformParativeObjectInput;
        }>>;
        data: import("../../API").TransformParativeObjectQuery;
        previousData?: import("../../API").TransformParativeObjectQuery;
        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").TransformParativeObjectQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            input: import("../../API").TransformParativeObjectInput;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../../API").TransformParativeObjectQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            input: import("../../API").TransformParativeObjectInput;
        }>>(mapFn: (previousQueryResult: import("../../API").TransformParativeObjectQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../../API").TransformParativeObjectQuery>, "variables">) => import("../../API").TransformParativeObjectQuery) => void;
        refetch: (variables?: Partial<import("../../API").Exact<{
            input: import("../../API").TransformParativeObjectInput;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").TransformParativeObjectQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../../API").Exact<{
            input: import("../../API").TransformParativeObjectInput;
        }>, import("../../API").TransformParativeObjectQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").TransformParativeObjectQuery>>;
        variables: import("../../API").Exact<{
            input: import("../../API").TransformParativeObjectInput;
        }>;
        fetchMore: <TFetchData = import("../../API").TransformParativeObjectQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            input: import("../../API").TransformParativeObjectInput;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../../API").TransformParativeObjectQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../../API").TransformParativeObjectQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    createAirtableTask: (variables: CreateAirtableTaskMutationVariables) => Promise<import("@apollo/client").FetchResult<import("../../API").CreateAirtableTaskMutation>>;
    loadIntegrationInstances(): Promise<any[]>;
    loadAirtableListTasks(options: {
        instanceId: string;
        searchTerm: string;
    }): Promise<any[]>;
    useIntegration(): {
        loadIntegrationInstances: () => Promise<any[]>;
        loadAirtableListTasks: (options: {
            instanceId: string;
            searchTerm: string;
        }) => Promise<any[]>;
    };
}
