import { CustomReport } from '../../API';
import { CRUDService } from '../../core';
export declare class CustomDashboardsService extends CRUDService<CustomReport> {
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../../API").Exact<{
        id: string;
    }>, import("../../API").CustomReportGetQuery>, "query">) => Promise<{
        __typename: "CustomReport";
        id: string;
        name: string;
        description?: string;
        isPrivate: boolean;
        viewerType?: import("../../API").AdminTeamRoles;
        organizationID: string;
        created_at: any;
        updated_at: any;
        items?: {
            __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;
                }[];
            };
        }[];
        owners?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        }[];
        owner: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
            role: import("../../API").AdminRole;
            team?: import("../../API").AdminTeams;
            teamRole?: import("../../API").AdminTeamRoles;
            isCurrentMember?: boolean;
            isEmailValid: boolean;
            title?: string;
            location?: string;
            bio?: string;
        };
    }>;
    get useGet(): (options: import("../../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportGetQuery, 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").CustomReportGetQuery, import("../../API").Exact<{
            id: string;
        }>>;
        data: import("../../API").CustomReportGetQuery;
        previousData?: import("../../API").CustomReportGetQuery;
        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").CustomReportGetQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../../API").CustomReportGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../../API").CustomReportGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../../API").CustomReportGetQuery>, "variables">) => import("../../API").CustomReportGetQuery) => void;
        refetch: (variables?: Partial<import("../../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").CustomReportGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../../API").Exact<{
            id: string;
        }>, import("../../API").CustomReportGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").CustomReportGetQuery>>;
        variables: import("../../API").Exact<{
            id: string;
        }>;
        fetchMore: <TFetchData = import("../../API").CustomReportGetQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../../API").CustomReportGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../../API").CustomReportGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get create(): (input: Partial<Record<"owners" | "items", import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<CustomReport>, import("../../../..").ModelWithId>> & Omit<import("../../API").CreateCustomReportInput, "owners" | "items" | import("../../core").HasOneRelationsOf<CustomReport>>, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateCustomReportInput;
    }>>>) => Promise<{
        __typename: "CustomReport";
        id: string;
        name: string;
        description?: string;
        isPrivate: boolean;
        viewerType?: import("../../API").AdminTeamRoles;
        organizationID: string;
        created_at: any;
        updated_at: any;
        items?: {
            __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;
                }[];
            };
        }[];
        owners?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        }[];
        owner: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
            role: import("../../API").AdminRole;
            team?: import("../../API").AdminTeams;
            teamRole?: import("../../API").AdminTeamRoles;
            isCurrentMember?: boolean;
            isEmailValid: boolean;
            title?: string;
            location?: string;
            bio?: string;
        };
    }>;
    get useCreate(): (options?: import("../../core").CacheUpdateOptions<import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateCustomReportInput;
    }>>>>) => [(payload: import("../../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateCustomReportInput;
    }>>, CustomReport>) => Promise<{
        __typename: "CustomReport";
        id: string;
        name: string;
        description?: string;
        isPrivate: boolean;
        viewerType?: import("../../API").AdminTeamRoles;
        organizationID: string;
        created_at: any;
        updated_at: any;
        items?: {
            __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;
                }[];
            };
        }[];
        owners?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        }[];
        owner: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
            role: import("../../API").AdminRole;
            team?: import("../../API").AdminTeams;
            teamRole?: import("../../API").AdminTeamRoles;
            isCurrentMember?: boolean;
            isEmailValid: boolean;
            title?: string;
            location?: string;
            bio?: string;
        };
    }>, import("@apollo/client").MutationResult<{
        createOne: import("../../../..").ModelWithId;
    }>];
    get delete(): (id: string, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportDeleteOneMutation, import("../../API").Exact<{
        input: import("../../API").DeleteOneInput;
    }>>>) => Promise<{
        __typename?: "CustomReport";
        id: string;
    }>;
    get useDelete(): (options?: import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportDeleteOneMutation, import("../../API").Exact<{
        input: import("../../API").DeleteOneInput;
    }>>>) => [(id?: string) => Promise<{
        __typename?: "CustomReport";
        id: string;
    }>, import("@apollo/client").MutationResult<import("../../API").CustomReportDeleteOneMutation>];
    get update(): (input: Partial<Record<"owners" | "items", import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<CustomReport>, import("../../../..").ModelWithId>> & Omit<import("../../API").UpdateCustomReport, "owners" | "items" | import("../../core").HasOneRelationsOf<CustomReport>> & {
        id: string;
    }, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomDashboardUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateCustomReportInput;
    }>>>) => Promise<{
        __typename: "CustomReport";
        id: string;
        name: string;
        description?: string;
        isPrivate: boolean;
        viewerType?: import("../../API").AdminTeamRoles;
        organizationID: string;
        created_at: any;
        updated_at: any;
        items?: {
            __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;
                }[];
            };
        }[];
        owners?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        }[];
        owner: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
            role: import("../../API").AdminRole;
            team?: import("../../API").AdminTeams;
            teamRole?: import("../../API").AdminTeamRoles;
            isCurrentMember?: boolean;
            isEmailValid: boolean;
            title?: string;
            location?: string;
            bio?: string;
        };
    }>;
    get useUpdate(): (mainOptions?: import("../../core").CacheUpdateOptions<import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomDashboardUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateCustomReportInput;
    }>>>>) => [({ id, ...input }: Partial<Record<"owners" | "items", import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<CustomReport>, import("../../../..").ModelWithId>> & import("../../API").UpdateCustomReport & {
        id: string;
    }, options?: import("../../core").CacheUpdateOptions<import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomDashboardUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateCustomReportInput;
    }>>>>) => Promise<Record<string, unknown>>, import("@apollo/client").MutationResult<{
        updateOne: Record<string, unknown>;
    }>];
    get list(): (input: import("../../API").Exact<{
        filter?: import("../../API").CustomReportFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
    }>, options?: import("../../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").CustomReportListQuery, import("../../API").Exact<{
        filter?: import("../../API").CustomReportFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
    }>>>) => Promise<{
        __typename?: "CustomReportConnection";
        totalCount: number;
        edges: {
            __typename?: "CustomReportEdge";
            node: {
                __typename: "CustomReport";
                id: string;
                name: string;
                description?: string;
                isPrivate: boolean;
                viewerType?: import("../../API").AdminTeamRoles;
                organizationID: string;
                created_at: any;
                updated_at: any;
                items?: {
                    __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;
                        }[];
                    };
                }[];
                owners?: {
                    __typename?: "Admin";
                    id: string;
                    firstName?: string;
                    lastName?: string;
                    email: string;
                    avatar?: string;
                }[];
                owner: {
                    __typename?: "Admin";
                    id: string;
                    firstName?: string;
                    lastName?: string;
                    email: string;
                    avatar?: string;
                    role: import("../../API").AdminRole;
                    team?: import("../../API").AdminTeams;
                    teamRole?: import("../../API").AdminTeamRoles;
                    isCurrentMember?: boolean;
                    isEmailValid: boolean;
                    title?: string;
                    location?: string;
                    bio?: 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").CustomReportListQuery, import("../../API").Exact<{
        filter?: import("../../API").CustomReportFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../../API").CustomReportListQuery, import("../../API").Exact<{
            filter?: import("../../API").CustomReportFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
        }>>;
        data: import("../../API").CustomReportListQuery;
        previousData?: import("../../API").CustomReportListQuery;
        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").CustomReportListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").CustomReportFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../../API").CustomReportListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").CustomReportFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
        }>>(mapFn: (previousQueryResult: import("../../API").CustomReportListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../../API").CustomReportListQuery>, "variables">) => import("../../API").CustomReportListQuery) => void;
        refetch: (variables?: Partial<import("../../API").Exact<{
            filter?: import("../../API").CustomReportFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").CustomReportListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../../API").Exact<{
            filter?: import("../../API").CustomReportFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
        }>, import("../../API").CustomReportListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").CustomReportListQuery>>;
        variables: import("../../API").Exact<{
            filter?: import("../../API").CustomReportFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
        }>;
        fetchMore: <TFetchData = import("../../API").CustomReportListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").CustomReportFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").CustomReportSort | import("../../API").CustomReportSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../../API").CustomReportListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../../API").CustomReportListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
