import { CustomReportItem as ICustomReportItem } from '../../API';
import { CRUDService } from '../../core';
export declare class CustomReportItemService extends CRUDService<ICustomReportItem> {
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../../API").Exact<{
        id: string;
    }>, import("../../API").CustomReportItemGetQuery>, "query">) => Promise<{
        __typename: "CustomReportItem";
        id: string;
        metricID?: string;
        savedViewID?: string;
        placement: any;
        organizationID: string;
        created_at: any;
        updated_at: any;
        metric?: {
            __typename: "CustomReportMetric";
            id: string;
            name: string;
            description?: string;
            isPrivate: boolean;
            isMultipleGraphs: boolean;
            viewerType?: import("../../API").AdminTeamRoles;
            vizState: any;
            vizStateArray: any[];
            organizationID: string;
            measure?: import("../../API").MeasureTypes;
            label?: string;
            created_at: any;
            updated_at: any;
            owners?: {
                __typename?: "Admin";
                id: string;
                firstName?: string;
                lastName?: string;
                email: string;
                avatar?: string;
            }[];
        };
        savedView?: {
            __typename?: "SavedView";
            id: string;
            name: string;
            isPublic: boolean;
            isDefault?: boolean;
            isFavorited: boolean;
            filters: any;
            organizationID: string;
            tableType: import("../../API").SavedViewTableOptions;
            columnObjects?: {
                __typename?: "SavedViewColumnObject";
                id: string;
                key: string;
                sortIndex?: number;
            }[];
        };
    }>;
    get useGet(): (options: import("../../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemGetQuery, 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").CustomReportItemGetQuery, import("../../API").Exact<{
            id: string;
        }>>;
        data: import("../../API").CustomReportItemGetQuery;
        previousData?: import("../../API").CustomReportItemGetQuery;
        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").CustomReportItemGetQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../../API").CustomReportItemGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../../API").CustomReportItemGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../../API").CustomReportItemGetQuery>, "variables">) => import("../../API").CustomReportItemGetQuery) => void;
        refetch: (variables?: Partial<import("../../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").CustomReportItemGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../../API").Exact<{
            id: string;
        }>, import("../../API").CustomReportItemGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").CustomReportItemGetQuery>>;
        variables: import("../../API").Exact<{
            id: string;
        }>;
        fetchMore: <TFetchData = import("../../API").CustomReportItemGetQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../../API").CustomReportItemGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../../API").CustomReportItemGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get create(): (input: Partial<Record<never, import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<ICustomReportItem>, import("../../../..").ModelWithId>> & Omit<import("../../API").CreateCustomReportItemInput, import("../../core").HasOneRelationsOf<ICustomReportItem>>, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateCustomReportItemInput;
    }>>>) => Promise<{
        __typename: "CustomReportItem";
        id: string;
        metricID?: string;
        savedViewID?: string;
        placement: any;
        organizationID: string;
        created_at: any;
        updated_at: any;
        metric?: {
            __typename: "CustomReportMetric";
            id: string;
            name: string;
            description?: string;
            isPrivate: boolean;
            isMultipleGraphs: boolean;
            viewerType?: import("../../API").AdminTeamRoles;
            vizState: any;
            vizStateArray: any[];
            organizationID: string;
            measure?: import("../../API").MeasureTypes;
            label?: string;
            created_at: any;
            updated_at: any;
            owners?: {
                __typename?: "Admin";
                id: string;
                firstName?: string;
                lastName?: string;
                email: string;
                avatar?: string;
            }[];
        };
        savedView?: {
            __typename?: "SavedView";
            id: string;
            name: string;
            isPublic: boolean;
            isDefault?: boolean;
            isFavorited: boolean;
            filters: any;
            organizationID: string;
            tableType: import("../../API").SavedViewTableOptions;
            columnObjects?: {
                __typename?: "SavedViewColumnObject";
                id: string;
                key: string;
                sortIndex?: number;
            }[];
        };
    }>;
    get useCreate(): (options?: import("../../core").CacheUpdateOptions<import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateCustomReportItemInput;
    }>>>>) => [(payload: import("../../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateCustomReportItemInput;
    }>>, ICustomReportItem>) => Promise<{
        __typename: "CustomReportItem";
        id: string;
        metricID?: string;
        savedViewID?: string;
        placement: any;
        organizationID: string;
        created_at: any;
        updated_at: any;
        metric?: {
            __typename: "CustomReportMetric";
            id: string;
            name: string;
            description?: string;
            isPrivate: boolean;
            isMultipleGraphs: boolean;
            viewerType?: import("../../API").AdminTeamRoles;
            vizState: any;
            vizStateArray: any[];
            organizationID: string;
            measure?: import("../../API").MeasureTypes;
            label?: string;
            created_at: any;
            updated_at: any;
            owners?: {
                __typename?: "Admin";
                id: string;
                firstName?: string;
                lastName?: string;
                email: string;
                avatar?: string;
            }[];
        };
        savedView?: {
            __typename?: "SavedView";
            id: string;
            name: string;
            isPublic: boolean;
            isDefault?: boolean;
            isFavorited: boolean;
            filters: any;
            organizationID: string;
            tableType: import("../../API").SavedViewTableOptions;
            columnObjects?: {
                __typename?: "SavedViewColumnObject";
                id: string;
                key: string;
                sortIndex?: number;
            }[];
        };
    }>, import("@apollo/client").MutationResult<{
        createOne: import("../../../..").ModelWithId;
    }>];
    get delete(): (id: string, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemDeleteOneMutation, import("../../API").Exact<{
        input: import("../../API").DeleteOneInput;
    }>>>) => Promise<{
        __typename?: "CustomReportItem";
        id: string;
    }>;
    get useDelete(): (options?: import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemDeleteOneMutation, import("../../API").Exact<{
        input: import("../../API").DeleteOneInput;
    }>>>) => [(id?: string) => Promise<{
        __typename?: "CustomReportItem";
        id: string;
    }>, import("@apollo/client").MutationResult<import("../../API").CustomReportItemDeleteOneMutation>];
    get update(): (input: Partial<Record<never, import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<ICustomReportItem>, import("../../../..").ModelWithId>> & Omit<import("../../API").UpdateCustomReportItem, import("../../core").HasOneRelationsOf<ICustomReportItem>> & {
        id: string;
    }, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateCustomReportItemInput;
    }>>>) => Promise<{
        __typename: "CustomReportItem";
        id: string;
        metricID?: string;
        savedViewID?: string;
        placement: any;
        organizationID: string;
        created_at: any;
        updated_at: any;
        metric?: {
            __typename: "CustomReportMetric";
            id: string;
            name: string;
            description?: string;
            isPrivate: boolean;
            isMultipleGraphs: boolean;
            viewerType?: import("../../API").AdminTeamRoles;
            vizState: any;
            vizStateArray: any[];
            organizationID: string;
            measure?: import("../../API").MeasureTypes;
            label?: string;
            created_at: any;
            updated_at: any;
            owners?: {
                __typename?: "Admin";
                id: string;
                firstName?: string;
                lastName?: string;
                email: string;
                avatar?: string;
            }[];
        };
        savedView?: {
            __typename?: "SavedView";
            id: string;
            name: string;
            isPublic: boolean;
            isDefault?: boolean;
            isFavorited: boolean;
            filters: any;
            organizationID: string;
            tableType: import("../../API").SavedViewTableOptions;
            columnObjects?: {
                __typename?: "SavedViewColumnObject";
                id: string;
                key: string;
                sortIndex?: number;
            }[];
        };
    }>;
    get useUpdate(): (mainOptions?: import("../../core").CacheUpdateOptions<import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateCustomReportItemInput;
    }>>>>) => [({ id, ...input }: Partial<Record<never, import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<ICustomReportItem>, import("../../../..").ModelWithId>> & import("../../API").UpdateCustomReportItem & {
        id: string;
    }, options?: import("../../core").CacheUpdateOptions<import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateCustomReportItemInput;
    }>>>>) => Promise<Record<string, unknown>>, import("@apollo/client").MutationResult<{
        updateOne: Record<string, unknown>;
    }>];
    get list(): (input: import("../../API").Exact<{
        filter?: import("../../API").CustomReportItemFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
    }>, options?: import("../../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportItemsListQuery, import("../../API").Exact<{
        filter?: import("../../API").CustomReportItemFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
    }>>>) => Promise<{
        __typename?: "CustomReportItemConnection";
        totalCount: number;
        edges: {
            __typename?: "CustomReportItemEdge";
            node: {
                __typename: "CustomReportItem";
                id: string;
                metricID?: string;
                savedViewID?: string;
                placement: any;
                organizationID: string;
                created_at: any;
                updated_at: any;
                metric?: {
                    __typename: "CustomReportMetric";
                    id: string;
                    name: string;
                    description?: string;
                    isPrivate: boolean;
                    isMultipleGraphs: boolean;
                    viewerType?: import("../../API").AdminTeamRoles;
                    vizState: any;
                    vizStateArray: any[];
                    organizationID: string;
                    measure?: import("../../API").MeasureTypes;
                    label?: string;
                    created_at: any;
                    updated_at: any;
                    owners?: {
                        __typename?: "Admin";
                        id: string;
                        firstName?: string;
                        lastName?: string;
                        email: string;
                        avatar?: string;
                    }[];
                };
                savedView?: {
                    __typename?: "SavedView";
                    id: string;
                    name: string;
                    isPublic: boolean;
                    isDefault?: boolean;
                    isFavorited: boolean;
                    filters: any;
                    organizationID: string;
                    tableType: import("../../API").SavedViewTableOptions;
                    columnObjects?: {
                        __typename?: "SavedViewColumnObject";
                        id: string;
                        key: string;
                        sortIndex?: number;
                    }[];
                };
            };
        }[];
        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").CustomReportItemsListQuery, import("../../API").Exact<{
        filter?: import("../../API").CustomReportItemFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../../API").CustomReportItemsListQuery, import("../../API").Exact<{
            filter?: import("../../API").CustomReportItemFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
        }>>;
        data: import("../../API").CustomReportItemsListQuery;
        previousData?: import("../../API").CustomReportItemsListQuery;
        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").CustomReportItemsListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").CustomReportItemFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../../API").CustomReportItemsListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").CustomReportItemFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
        }>>(mapFn: (previousQueryResult: import("../../API").CustomReportItemsListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../../API").CustomReportItemsListQuery>, "variables">) => import("../../API").CustomReportItemsListQuery) => void;
        refetch: (variables?: Partial<import("../../API").Exact<{
            filter?: import("../../API").CustomReportItemFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").CustomReportItemsListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../../API").Exact<{
            filter?: import("../../API").CustomReportItemFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
        }>, import("../../API").CustomReportItemsListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").CustomReportItemsListQuery>>;
        variables: import("../../API").Exact<{
            filter?: import("../../API").CustomReportItemFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
        }>;
        fetchMore: <TFetchData = import("../../API").CustomReportItemsListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").CustomReportItemFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportItemSort | import("../../API").CustomReportItemSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../../API").CustomReportItemsListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../../API").CustomReportItemsListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
