import { Theme } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class ThemeService extends CRUDService<Theme> {
    protected hasOneModels: ICrudService<Theme>['hasOneModels'];
    protected hasManyModels: ICrudService<Theme>['hasManyModels'];
    createByName: (displayName: string) => Promise<{
        __typename?: "Theme";
        id: string;
        displayName: string;
        accountsCount?: number;
        openClosedLostRevenue?: number;
        openCurrentRevenue?: number;
        latestAdditionAt?: any;
        needToHaveNeedsCount?: number;
        needsCount?: number;
        niceToHaveNeedsCount?: number;
        notUrgentNeedsCount?: number;
        openNeedsCount?: number;
        openPotentialRevenue?: number;
        organizationID: string;
        urgentNeedsCount?: number;
        vipAccountsCount?: number;
        vipNeedsCount?: number;
        vipUsersCount?: number;
        updated_at: any;
    }>;
    get create(): (input: Partial<Record<"automations" | "tasks" | "needs" | "forms" | "topics", import("../../..").ModelWithId[]> & Record<"organization", import("../../..").ModelWithId>> & Omit<import("../API").ThemeInput, "automations" | "tasks" | "needs" | "organization" | "forms" | "topics">, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThemeCreateOneMutation, import("../API").Exact<{
        input: import("../API").ThemeInput;
    }>>>) => Promise<{
        __typename?: "Theme";
        id: string;
        displayName: string;
        accountsCount?: number;
        openClosedLostRevenue?: number;
        openCurrentRevenue?: number;
        latestAdditionAt?: any;
        needToHaveNeedsCount?: number;
        needsCount?: number;
        niceToHaveNeedsCount?: number;
        notUrgentNeedsCount?: number;
        openNeedsCount?: number;
        openPotentialRevenue?: number;
        organizationID: string;
        urgentNeedsCount?: number;
        vipAccountsCount?: number;
        vipNeedsCount?: number;
        vipUsersCount?: number;
        updated_at: any;
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThemeCreateOneMutation, import("../API").Exact<{
        input: import("../API").ThemeInput;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThemeCreateOneMutation, import("../API").Exact<{
        input: import("../API").ThemeInput;
    }>>, Theme>) => Promise<{
        __typename?: "Theme";
        id: string;
        displayName: string;
        accountsCount?: number;
        openClosedLostRevenue?: number;
        openCurrentRevenue?: number;
        latestAdditionAt?: any;
        needToHaveNeedsCount?: number;
        needsCount?: number;
        niceToHaveNeedsCount?: number;
        notUrgentNeedsCount?: number;
        openNeedsCount?: number;
        openPotentialRevenue?: number;
        organizationID: string;
        urgentNeedsCount?: number;
        vipAccountsCount?: number;
        vipNeedsCount?: number;
        vipUsersCount?: number;
        updated_at: any;
    }>, import("@apollo/client").MutationResult<any>];
    get update(): (input: Partial<Record<"automations" | "tasks" | "needs" | "forms" | "topics", import("../../..").ModelWithId[]> & Record<"organization", import("../../..").ModelWithId>> & Omit<import("../API").ThemeInput, "automations" | "tasks" | "needs" | "organization" | "forms" | "topics"> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThemeUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneThemeInput;
    }>>>) => Promise<{
        __typename?: "Theme";
        id: string;
        displayName: string;
        description?: string;
    }>;
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThemeDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneThemeInput;
    }>>>) => Promise<{
        __typename?: "ThemeDeleteResponse";
        id?: string;
    }>;
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").ThemeGetQuery>, "query">) => Promise<{
        __typename?: "Theme";
        id: string;
        description?: string;
        displayName: string;
        accountsCount?: number;
        latestAdditionAt?: any;
        needToHaveNeedsCount?: number;
        needsCount?: number;
        niceToHaveNeedsCount?: number;
        notUrgentNeedsCount?: number;
        openNeedsCount?: number;
        organizationID: string;
        urgentNeedsCount?: number;
        vipAccountsCount?: number;
        vipNeedsCount?: number;
        vipUsersCount?: number;
        updated_at: any;
        openCurrentRevenue?: number;
        openClosedLostRevenue?: number;
        openPotentialRevenue?: number;
        resolvedCurrentRevenue?: number;
        resolvedClosedLostRevenue?: number;
        resolvedPotentialRevenue?: number;
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThemeGetQuery, 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").ThemeGetQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").ThemeGetQuery;
        previousData?: import("../API").ThemeGetQuery;
        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").ThemeGetQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").ThemeGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").ThemeGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").ThemeGetQuery>, "variables">) => import("../API").ThemeGetQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ThemeGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").ThemeGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ThemeGetQuery>>;
        fetchMore: <TFetchData = import("../API").ThemeGetQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").ThemeGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").ThemeGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").ThemeFilter;
        sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
        paging?: import("../API").CursorPaging;
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThemeListQuery, import("../API").Exact<{
        filter?: import("../API").ThemeFilter;
        sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
        paging?: import("../API").CursorPaging;
    }>>>) => Promise<{
        __typename?: "ThemeConnection";
        totalCount: number;
        edges: {
            __typename?: "ThemeEdge";
            cursor: any;
            node: {
                __typename?: "Theme";
                id: string;
                displayName: string;
                accountsCount?: number;
                latestAdditionAt?: any;
                needToHaveNeedsCount?: number;
                needsCount?: number;
                niceToHaveNeedsCount?: number;
                notUrgentNeedsCount?: number;
                openNeedsCount?: number;
                organizationID: string;
                urgentNeedsCount?: number;
                vipAccountsCount?: number;
                vipNeedsCount?: number;
                vipUsersCount?: number;
                updated_at: any;
                openCurrentRevenue?: number;
                openClosedLostRevenue?: number;
                openPotentialRevenue?: number;
                resolvedCurrentRevenue?: number;
                resolvedClosedLostRevenue?: number;
                resolvedPotentialRevenue?: number;
            };
        }[];
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: any;
            hasNextPage?: boolean;
            hasPreviousPage?: boolean;
            startCursor?: any;
        };
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ThemeListQuery, import("../API").Exact<{
        filter?: import("../API").ThemeFilter;
        sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
        paging?: import("../API").CursorPaging;
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").ThemeListQuery, import("../API").Exact<{
            filter?: import("../API").ThemeFilter;
            sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
            paging?: import("../API").CursorPaging;
        }>>;
        data: import("../API").ThemeListQuery;
        previousData?: import("../API").ThemeListQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            filter?: import("../API").ThemeFilter;
            sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
            paging?: import("../API").CursorPaging;
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").ThemeListQuery, TSubscriptionVariables = import("../API").Exact<{
            filter?: import("../API").ThemeFilter;
            sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
            paging?: import("../API").CursorPaging;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").ThemeListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            filter?: import("../API").ThemeFilter;
            sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
            paging?: import("../API").CursorPaging;
        }>>(mapFn: (previousQueryResult: import("../API").ThemeListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").ThemeListQuery>, "variables">) => import("../API").ThemeListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").ThemeFilter;
            sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
            paging?: import("../API").CursorPaging;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ThemeListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").ThemeFilter;
            sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
            paging?: import("../API").CursorPaging;
        }>, import("../API").ThemeListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ThemeListQuery>>;
        fetchMore: <TFetchData = import("../API").ThemeListQuery, TFetchVars = import("../API").Exact<{
            filter?: import("../API").ThemeFilter;
            sorting?: import("../API").ThemeSort | import("../API").ThemeSort[];
            paging?: import("../API").CursorPaging;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").ThemeListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").ThemeListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useGetThemeInboxBreakdown(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").GetThemeForInboxBreakdownQuery, 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").GetThemeForInboxBreakdownQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").GetThemeForInboxBreakdownQuery;
        previousData?: import("../API").GetThemeForInboxBreakdownQuery;
        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").GetThemeForInboxBreakdownQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").GetThemeForInboxBreakdownQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").GetThemeForInboxBreakdownQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").GetThemeForInboxBreakdownQuery>, "variables">) => import("../API").GetThemeForInboxBreakdownQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").GetThemeForInboxBreakdownQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").GetThemeForInboxBreakdownQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").GetThemeForInboxBreakdownQuery>>;
        fetchMore: <TFetchData = import("../API").GetThemeForInboxBreakdownQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").GetThemeForInboxBreakdownQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").GetThemeForInboxBreakdownQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
