import { JobRun, JobRunCreatesDocument, JobRunUpdatesDocument } from '../API';
import { CRUDService, ICrudService, ServiceQueryHookOptions, ServiceQueryOptions } from '../core';
export declare class JobRunService extends CRUDService<JobRun> {
    protected hasOneModels: ICrudService<JobRun>['hasOneModels'];
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").GetJobRunQuery>, "query">) => Promise<{
        __typename?: "JobRun";
        id: string;
        endDate?: any;
        startDate?: any;
        eventsSentFromIntegrations?: number;
        s3IntegratinoResources?: string;
        batchID?: string;
        succeeded?: boolean;
        updatedRecordCount?: number;
        createdRecordCount?: number;
        jobID?: string;
        organizationID: string;
        message?: string;
        created_at: any;
        updated_at: any;
    }>;
    get useGet(): (options: ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").GetJobRunQuery, 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").GetJobRunQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").GetJobRunQuery;
        previousData?: import("../API").GetJobRunQuery;
        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").GetJobRunQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").GetJobRunQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").GetJobRunQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").GetJobRunQuery>, "variables">) => import("../API").GetJobRunQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").GetJobRunQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").GetJobRunQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").GetJobRunQuery>>;
        variables: import("../API").Exact<{
            id: string;
        }>;
        fetchMore: <TFetchData = import("../API").GetJobRunQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").GetJobRunQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").GetJobRunQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useLazyGet(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceLazyQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").GetJobRunQuery, import("../API").Exact<{
        id: string;
    }>>>>) => import("@apollo/client").LazyQueryResultTuple<import("../API").GetJobRunQuery, import("../API").Exact<{
        id: string;
    }>>;
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").JobRunFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
    }>, options?: ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").JobRunsListQuery, import("../API").Exact<{
        filter?: import("../API").JobRunFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
    }>>>) => Promise<{
        __typename?: "JobRunConnection";
        edges: {
            __typename?: "JobRunEdge";
            node: {
                __typename?: "JobRun";
                id: string;
                endDate?: any;
                startDate?: any;
                eventsSentFromIntegrations?: number;
                s3IntegratinoResources?: string;
                batchID?: string;
                succeeded?: boolean;
                updatedRecordCount?: number;
                createdRecordCount?: number;
                jobID?: string;
                organizationID: string;
                message?: string;
                created_at: any;
                updated_at: any;
            };
        }[];
        pageInfo: {
            __typename?: "PageInfo";
            hasNextPage?: boolean;
            startCursor?: any;
            endCursor?: any;
            hasPreviousPage?: boolean;
        };
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").JobRunsListQuery, import("../API").Exact<{
        filter?: import("../API").JobRunFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").JobRunsListQuery, import("../API").Exact<{
            filter?: import("../API").JobRunFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
        }>>;
        data: import("../API").JobRunsListQuery;
        previousData?: import("../API").JobRunsListQuery;
        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").JobRunsListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").JobRunFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").JobRunsListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").JobRunFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
        }>>(mapFn: (previousQueryResult: import("../API").JobRunsListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").JobRunsListQuery>, "variables">) => import("../API").JobRunsListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").JobRunFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").JobRunsListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").JobRunFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
        }>, import("../API").JobRunsListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").JobRunsListQuery>>;
        variables: import("../API").Exact<{
            filter?: import("../API").JobRunFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
        }>;
        fetchMore: <TFetchData = import("../API").JobRunsListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").JobRunFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").JobRunsListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").JobRunsListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useLazyList(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceLazyQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").JobRunsListQuery, import("../API").Exact<{
        filter?: import("../API").JobRunFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
    }>>>>) => import("@apollo/client").LazyQueryResultTuple<import("../API").JobRunsListQuery, import("../API").Exact<{
        filter?: import("../API").JobRunFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").JobRunSort | import("../API").JobRunSort[];
    }>>;
    creates(options?: ServiceQueryOptions<typeof JobRunCreatesDocument>): Promise<import("@apollo/client").ApolloQueryResult<import("../API").JobRunCreatesQuery>>;
    useCreates(options: ServiceQueryHookOptions<typeof JobRunCreatesDocument>): import("@apollo/client").QueryResult<import("../API").JobRunCreatesQuery, import("../API").Exact<{
        jobRunID: string;
        organizationID: string;
        skip?: number;
        take?: number;
    }>>;
    updates(options?: ServiceQueryOptions<typeof JobRunUpdatesDocument>): Promise<import("@apollo/client").ApolloQueryResult<import("../API").JobRunUpdatesQuery>>;
    useUpdates(options: ServiceQueryHookOptions<typeof JobRunUpdatesDocument>): import("@apollo/client").QueryResult<import("../API").JobRunUpdatesQuery, import("../API").Exact<{
        jobRunID: string;
        organizationID: string;
        skip?: number;
        take?: number;
    }>>;
}
