import { ApolloCache, DefaultContext, MutationOptions } from '@apollo/client';
import { ResultOf, VariablesOf } from '@graphql-typed-document-node/core';
import { ModelWithId, RenderAirtableSelectorProps } from '@parlor/components/select';
import { SourceOfData, Topic, TopicDeleteOneDocument } from '../API';
import { ApolloClientService, CRUDService, CanBeMovedCallback, ICrudService, ServiceReturnType } from '../core';
import { TaskService } from './task.service';
import { TimelineCacheService } from './timeline';
import { TopicRelatedFeedbackCacheService } from './topic-related-feedback';
type AdditionalInputProps = {
    airtableTask?: RenderAirtableSelectorProps;
    jiraIssue?: any;
    parentTopic?: ModelWithId;
};
export declare class TopicService extends CRUDService<Topic> {
    private taskService;
    protected timelineCacheService: TimelineCacheService;
    protected topicRelatedFeedbackCacheService: TopicRelatedFeedbackCacheService;
    protected hasOneModels: import("../core").HasOneRelationsOf<Topic>[];
    constructor(client: ApolloClientService, taskService: TaskService, timelineCacheService: TimelineCacheService, topicRelatedFeedbackCacheService: TopicRelatedFeedbackCacheService);
    protected hasManyModels: ICrudService<Topic>['hasManyModels'];
    cacheTopic(id: string): Promise<import("@apollo/client").FetchResult<import("../API").CacheTopicMutation>>;
    protected updateHasOpenChildOfParent(id: string): void;
    get useGetTopicAccountEntities(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").GetTopicAccountEntitiesQuery, 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").GetTopicAccountEntitiesQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").GetTopicAccountEntitiesQuery;
        previousData?: import("../API").GetTopicAccountEntitiesQuery;
        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").GetTopicAccountEntitiesQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").GetTopicAccountEntitiesQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").GetTopicAccountEntitiesQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").GetTopicAccountEntitiesQuery>, "variables">) => import("../API").GetTopicAccountEntitiesQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").GetTopicAccountEntitiesQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").GetTopicAccountEntitiesQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").GetTopicAccountEntitiesQuery>>;
        fetchMore: <TFetchData = import("../API").GetTopicAccountEntitiesQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").GetTopicAccountEntitiesQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").GetTopicAccountEntitiesQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    createByName: ({ name, inboxID }: {
        inboxID?: string;
        name: string;
    }) => Promise<{
        __typename?: "Topic";
        id: string;
        name: string;
        description?: string;
        organizationID: string;
        inboxID?: string;
        topicKey?: number;
        isResolved: boolean;
        hasOpenChild: boolean;
        hasResolvedChild: boolean;
        lastStatusChange?: string;
        lastStatusChangedDate?: any;
        openCurrentRevenue?: number;
        openClosedLostRevenue?: number;
        openPotentialRevenue?: number;
        resolvedCurrentRevenue?: number;
        resolvedClosedLostRevenue?: number;
        resolvedPotentialRevenue?: number;
        accountsCount?: number;
        usersCount?: number;
        openNeedsCount?: number;
        openUrgentNeedsCount?: number;
        openNeedToHaveNeedsCount?: number;
        openNiceToHaveNeedsCount?: number;
        openNotUrgentNeedsCount?: number;
        resolvedNeedsCount?: number;
        urgentNeedsCount?: number;
        niceToHaveNeedsCount?: number;
        needToHaveNeedsCount?: number;
        vipAccountsCount?: number;
        vipUsersCount?: number;
        updated_at: any;
        organization: {
            __typename?: "Organization";
            id: string;
            name: string;
        };
        admin?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        };
        childTopics?: {
            __typename?: "Topic";
            id: string;
            name: string;
            isResolved: boolean;
            topicKey?: number;
            organizationID: string;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        }[];
        themes?: {
            __typename?: "Theme";
            id: string;
            displayName: string;
        }[];
        parentTopic?: {
            __typename?: "Topic";
            id: string;
            name: string;
            description?: string;
            organizationID: string;
            topicKey?: number;
            isResolved: boolean;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        };
        inbox?: {
            __typename?: "Inbox";
            id: string;
            key: string;
            name: string;
        };
        statusOption?: {
            __typename?: "StatusOption";
            color?: string;
            id: string;
            resolvesNeed?: boolean;
            value?: string;
        };
        typeOption?: {
            __typename?: "TypeOption";
            id: string;
            value: string;
        };
        tasks?: {
            __typename?: "Task";
            id: string;
            organizationID: string;
            objectSource?: SourceOfData;
            taskKey?: string;
            projectKey?: string;
            projectName?: string;
            name?: string;
            type?: string;
            status?: string;
            description?: string;
            playbookID?: string;
            actionID?: string;
            milestoneID?: string;
            externalIDs?: {
                __typename?: "ExternalID";
                id: string;
                externalID: string;
            }[];
        }[];
    }>;
    get useOriginalCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TopicCreateOneMutation, import("../API").Exact<{
        input: import("../API").TopicInput;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TopicCreateOneMutation, import("../API").Exact<{
        input: import("../API").TopicInput;
    }>>, Topic>) => Promise<{
        __typename?: "Topic";
        id: string;
        name: string;
        description?: string;
        organizationID: string;
        inboxID?: string;
        topicKey?: number;
        isResolved: boolean;
        hasOpenChild: boolean;
        hasResolvedChild: boolean;
        lastStatusChange?: string;
        lastStatusChangedDate?: any;
        openCurrentRevenue?: number;
        openClosedLostRevenue?: number;
        openPotentialRevenue?: number;
        resolvedCurrentRevenue?: number;
        resolvedClosedLostRevenue?: number;
        resolvedPotentialRevenue?: number;
        accountsCount?: number;
        usersCount?: number;
        openNeedsCount?: number;
        openUrgentNeedsCount?: number;
        openNeedToHaveNeedsCount?: number;
        openNiceToHaveNeedsCount?: number;
        openNotUrgentNeedsCount?: number;
        resolvedNeedsCount?: number;
        urgentNeedsCount?: number;
        niceToHaveNeedsCount?: number;
        needToHaveNeedsCount?: number;
        vipAccountsCount?: number;
        vipUsersCount?: number;
        updated_at: any;
        organization: {
            __typename?: "Organization";
            id: string;
            name: string;
        };
        admin?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        };
        childTopics?: {
            __typename?: "Topic";
            id: string;
            name: string;
            isResolved: boolean;
            topicKey?: number;
            organizationID: string;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        }[];
        themes?: {
            __typename?: "Theme";
            id: string;
            displayName: string;
        }[];
        parentTopic?: {
            __typename?: "Topic";
            id: string;
            name: string;
            description?: string;
            organizationID: string;
            topicKey?: number;
            isResolved: boolean;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        };
        inbox?: {
            __typename?: "Inbox";
            id: string;
            key: string;
            name: string;
        };
        statusOption?: {
            __typename?: "StatusOption";
            color?: string;
            id: string;
            resolvesNeed?: boolean;
            value?: string;
        };
        typeOption?: {
            __typename?: "TypeOption";
            id: string;
            value: string;
        };
        tasks?: {
            __typename?: "Task";
            id: string;
            organizationID: string;
            objectSource?: SourceOfData;
            taskKey?: string;
            projectKey?: string;
            projectName?: string;
            name?: string;
            type?: string;
            status?: string;
            description?: string;
            playbookID?: string;
            actionID?: string;
            milestoneID?: string;
            externalIDs?: {
                __typename?: "ExternalID";
                id: string;
                externalID: string;
            }[];
        }[];
    }>, import("@apollo/client").MutationResult<any>];
    get useCreate(): (options?: Parameters<typeof this.useOriginalCreate>[0]) => [({ parentTopic, ...props }: Partial<Record<"children" | "tasks" | "needs" | "themes" | "histories" | "notifications" | "notes" | "posts", ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Topic>, ModelWithId>> & import("../API").TopicInput & AdditionalInputProps) => Promise<{
        __typename?: "Topic";
        id: string;
        name: string;
        description?: string;
        organizationID: string;
        inboxID?: string;
        topicKey?: number;
        isResolved: boolean;
        hasOpenChild: boolean;
        hasResolvedChild: boolean;
        lastStatusChange?: string;
        lastStatusChangedDate?: any;
        openCurrentRevenue?: number;
        openClosedLostRevenue?: number;
        openPotentialRevenue?: number;
        resolvedCurrentRevenue?: number;
        resolvedClosedLostRevenue?: number;
        resolvedPotentialRevenue?: number;
        accountsCount?: number;
        usersCount?: number;
        openNeedsCount?: number;
        openUrgentNeedsCount?: number;
        openNeedToHaveNeedsCount?: number;
        openNiceToHaveNeedsCount?: number;
        openNotUrgentNeedsCount?: number;
        resolvedNeedsCount?: number;
        urgentNeedsCount?: number;
        niceToHaveNeedsCount?: number;
        needToHaveNeedsCount?: number;
        vipAccountsCount?: number;
        vipUsersCount?: number;
        updated_at: any;
        organization: {
            __typename?: "Organization";
            id: string;
            name: string;
        };
        admin?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        };
        childTopics?: {
            __typename?: "Topic";
            id: string;
            name: string;
            isResolved: boolean;
            topicKey?: number;
            organizationID: string;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        }[];
        themes?: {
            __typename?: "Theme";
            id: string;
            displayName: string;
        }[];
        parentTopic?: {
            __typename?: "Topic";
            id: string;
            name: string;
            description?: string;
            organizationID: string;
            topicKey?: number;
            isResolved: boolean;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        };
        inbox?: {
            __typename?: "Inbox";
            id: string;
            key: string;
            name: string;
        };
        statusOption?: {
            __typename?: "StatusOption";
            color?: string;
            id: string;
            resolvesNeed?: boolean;
            value?: string;
        };
        typeOption?: {
            __typename?: "TypeOption";
            id: string;
            value: string;
        };
        tasks?: {
            __typename?: "Task";
            id: string;
            organizationID: string;
            objectSource?: SourceOfData;
            taskKey?: string;
            projectKey?: string;
            projectName?: string;
            name?: string;
            type?: string;
            status?: string;
            description?: string;
            playbookID?: string;
            actionID?: string;
            milestoneID?: string;
            externalIDs?: {
                __typename?: "ExternalID";
                id: string;
                externalID: string;
            }[];
        }[];
    }>, import("@apollo/client").MutationResult<any>];
    addChildTopicToTopic(childID: string, parentID: string): Promise<import("@apollo/client").FetchResult<import("../API").AddChildTopicToTopicMutation>>;
    get create(): ({ parentTopic, ...props }: Partial<Record<"children" | "tasks" | "needs" | "themes" | "histories" | "notifications" | "notes" | "posts", ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Topic>, ModelWithId>> & Omit<import("../API").TopicInput, "children" | "tasks" | "needs" | "themes" | "histories" | "notifications" | "notes" | "posts" | import("../core").HasOneRelationsOf<Topic>> & AdditionalInputProps, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TopicCreateOneMutation, import("../API").Exact<{
        input: import("../API").TopicInput;
    }>>>) => Promise<{
        __typename?: "Topic";
        id: string;
        name: string;
        description?: string;
        organizationID: string;
        inboxID?: string;
        topicKey?: number;
        isResolved: boolean;
        hasOpenChild: boolean;
        hasResolvedChild: boolean;
        lastStatusChange?: string;
        lastStatusChangedDate?: any;
        openCurrentRevenue?: number;
        openClosedLostRevenue?: number;
        openPotentialRevenue?: number;
        resolvedCurrentRevenue?: number;
        resolvedClosedLostRevenue?: number;
        resolvedPotentialRevenue?: number;
        accountsCount?: number;
        usersCount?: number;
        openNeedsCount?: number;
        openUrgentNeedsCount?: number;
        openNeedToHaveNeedsCount?: number;
        openNiceToHaveNeedsCount?: number;
        openNotUrgentNeedsCount?: number;
        resolvedNeedsCount?: number;
        urgentNeedsCount?: number;
        niceToHaveNeedsCount?: number;
        needToHaveNeedsCount?: number;
        vipAccountsCount?: number;
        vipUsersCount?: number;
        updated_at: any;
        organization: {
            __typename?: "Organization";
            id: string;
            name: string;
        };
        admin?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        };
        childTopics?: {
            __typename?: "Topic";
            id: string;
            name: string;
            isResolved: boolean;
            topicKey?: number;
            organizationID: string;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        }[];
        themes?: {
            __typename?: "Theme";
            id: string;
            displayName: string;
        }[];
        parentTopic?: {
            __typename?: "Topic";
            id: string;
            name: string;
            description?: string;
            organizationID: string;
            topicKey?: number;
            isResolved: boolean;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        };
        inbox?: {
            __typename?: "Inbox";
            id: string;
            key: string;
            name: string;
        };
        statusOption?: {
            __typename?: "StatusOption";
            color?: string;
            id: string;
            resolvesNeed?: boolean;
            value?: string;
        };
        typeOption?: {
            __typename?: "TypeOption";
            id: string;
            value: string;
        };
        tasks?: {
            __typename?: "Task";
            id: string;
            organizationID: string;
            objectSource?: SourceOfData;
            taskKey?: string;
            projectKey?: string;
            projectName?: string;
            name?: string;
            type?: string;
            status?: string;
            description?: string;
            playbookID?: string;
            actionID?: string;
            milestoneID?: string;
            externalIDs?: {
                __typename?: "ExternalID";
                id: string;
                externalID: string;
            }[];
        }[];
    }>;
    get update(): (props: Partial<Record<"children" | "tasks" | "needs" | "themes" | "histories" | "notifications" | "notes" | "posts", ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Topic>, ModelWithId>> & Omit<import("../API").TopicUpdateInput, "children" | "tasks" | "needs" | "themes" | "histories" | "notifications" | "notes" | "posts" | import("../core").HasOneRelationsOf<Topic>> & {
        id: string;
    } & AdditionalInputProps, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TopicUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneTopicInput;
    }>>>) => Promise<{
        __typename?: "Topic";
        id: string;
        name: string;
        description?: string;
        inboxID?: string;
        organizationID: string;
        topicKey?: number;
        isResolved: boolean;
        hasOpenChild: boolean;
        hasResolvedChild: boolean;
        openCurrentRevenue?: number;
        openClosedLostRevenue?: number;
        openPotentialRevenue?: number;
        resolvedCurrentRevenue?: number;
        resolvedClosedLostRevenue?: number;
        resolvedPotentialRevenue?: number;
        accountsCount?: number;
        usersCount?: number;
        openNeedsCount?: number;
        openUrgentNeedsCount?: number;
        openNeedToHaveNeedsCount?: number;
        openNiceToHaveNeedsCount?: number;
        openNotUrgentNeedsCount?: number;
        resolvedNeedsCount?: number;
        urgentNeedsCount?: number;
        niceToHaveNeedsCount?: number;
        needToHaveNeedsCount?: number;
        vipAccountsCount?: number;
        vipUsersCount?: number;
        updated_at: any;
        lastStatusChange?: string;
        lastStatusChangedDate?: any;
        histories?: {
            __typename?: "History";
            dynamicScoreValueID?: string;
            accountID?: string;
            id: string;
            change?: string;
            propertyChanged?: string;
            changeMaker?: any;
            changeMakerID?: string;
            segmentID?: string;
            signalID?: string;
            needID?: string;
            topicID?: string;
            created_at: any;
            need?: {
                __typename?: "Need";
                id: string;
                description?: string;
                organizationID: string;
                urgency?: import("../API").UrgencyType;
                sentiment?: import("../API").SentimentTypes;
                seen?: boolean;
                status?: import("../API").Status;
                type?: import("../API").Type;
                isResolved?: boolean;
                isProcessed?: boolean;
                isDeleted?: boolean;
                resolvedDate?: any;
                surveyResponseID?: string;
                dueDate?: any;
                changeMakerID?: string;
                additionalDetails?: string;
                inboxID?: string;
                objectSource?: SourceOfData;
                isArchived?: boolean;
                processedDate?: any;
                device?: string;
                browser?: string;
                updated_at: any;
                created_at: any;
                surveyResponse?: {
                    __typename?: "SurveyResponse";
                    id: string;
                    survey: {
                        __typename?: "Survey";
                        id: string;
                        name: string;
                        objectSource?: SourceOfData;
                        externalSurveyID?: string;
                        isNative?: boolean;
                    };
                };
                adminAssigned?: {
                    __typename?: "Admin";
                    id: string;
                    firstName?: string;
                    lastName?: string;
                    email: string;
                    avatar?: string;
                    role: import("../API").AdminRole;
                    team?: import("../API").AdminTeams;
                    isCurrentMember?: boolean;
                    title?: string;
                    location?: string;
                    bio?: string;
                    created_at: any;
                    updated_at: any;
                };
                adminAuthor?: {
                    __typename?: "Admin";
                    id: string;
                    firstName?: string;
                    lastName?: string;
                    email: string;
                    avatar?: string;
                    role: import("../API").AdminRole;
                    team?: import("../API").AdminTeams;
                    isCurrentMember?: boolean;
                    title?: string;
                    location?: string;
                    bio?: string;
                    created_at: any;
                    updated_at: any;
                };
                user?: {
                    __typename?: "User";
                    userDetails?: string;
                    created_at: any;
                    updated_at: any;
                    id: string;
                    vip?: boolean;
                    email?: string;
                    firstName?: string;
                    lastName?: string;
                    fullName?: string;
                    objectSource?: SourceOfData;
                    accounts?: {
                        __typename?: "Account";
                        adminID?: string;
                        id: string;
                        displayName?: string;
                        vip?: boolean;
                    }[];
                    externalIDs?: {
                        __typename?: "ExternalID";
                        accountID?: string;
                        email?: string;
                        externalID: string;
                        id: string;
                        needID?: string;
                        objectSource: string;
                        objectType: string;
                        opportunityID?: string;
                        organizationID: string;
                        userID?: string;
                    }[];
                };
                account?: {
                    __typename?: "Account";
                    adminID?: string;
                    id: string;
                    displayName?: string;
                    vip?: boolean;
                };
                inbox?: {
                    __typename?: "Inbox";
                    id: string;
                    key: string;
                    name: string;
                };
                statusOption?: {
                    __typename?: "StatusOption";
                    id: string;
                    value?: string;
                    color?: string;
                    resolvesNeed?: boolean;
                };
                typeOption?: {
                    __typename?: "TypeOption";
                    id: string;
                    value: string;
                };
                themes?: {
                    __typename?: "Theme";
                    id: string;
                    displayName: string;
                }[];
                topic?: {
                    __typename?: "Topic";
                    id: string;
                    name: string;
                    topicKey?: number;
                    statusOption?: {
                        __typename?: "StatusOption";
                        id: string;
                        value?: string;
                        color?: string;
                    };
                    inbox?: {
                        __typename?: "Inbox";
                        id: string;
                        key: string;
                    };
                    parent?: {
                        __typename?: "Topic";
                        id: string;
                        name: string;
                        topicKey?: number;
                    };
                };
                tasks?: {
                    __typename?: "Task";
                    id: string;
                    organizationID: string;
                    objectSource?: SourceOfData;
                    taskKey?: string;
                    projectKey?: string;
                    projectName?: string;
                    name?: string;
                    type?: string;
                    status?: string;
                    description?: string;
                    playbookID?: string;
                    actionID?: string;
                    milestoneID?: string;
                    externalIDs?: {
                        __typename?: "ExternalID";
                        id: string;
                        externalID: string;
                    }[];
                }[];
                properties?: {
                    __typename?: "Property";
                    id: string;
                    dataType: import("../API").DataType;
                    organizationID: string;
                    userID?: string;
                    accountID?: string;
                    opportunityID?: string;
                    ticketID?: string;
                    parlorKey: string;
                    objectSource?: SourceOfData;
                    type: import("../API").PropertyType;
                    name: string;
                    TextValue?: string;
                    NumberValue?: number;
                    DateValue?: any;
                    BooleanValue?: boolean;
                    isArchived?: boolean;
                    isDisplayed: boolean;
                    created_at: any;
                    updated_at: any;
                }[];
                artifact?: {
                    __typename?: "artifact";
                    id: string;
                    name: string;
                };
                risks?: {
                    __typename?: "Risk";
                    id: string;
                    value?: string;
                }[];
                attachments?: {
                    __typename?: "Attachment";
                    artifactID?: string;
                    needID?: string;
                    description: string;
                }[];
            };
            dynamicScoreValue?: {
                __typename?: "DynamicScoreValue";
                id: string;
                name: string;
                rank: number;
                color: import("../API").Color;
                threshold?: number;
                indicatesRiskOrExpansion?: boolean;
                riskOrEQLAmount?: number;
                dynamicScoreID?: string;
                dynamicScore: {
                    __typename?: "DynamicScore";
                    id: string;
                    name: string;
                    riskCategory?: import("../API").ScoreRiskCategory;
                };
                scoreConditions?: {
                    __typename?: "DynamicScoreCondition";
                    id: string;
                    name?: string;
                    type: import("../API").DynamicScoreConditionType;
                    points?: number;
                    queryLiteral?: any[][];
                    dynamicScoreID: string;
                    conditionGroupType?: import("../API").DynamicScoreConditionGroupType;
                    conditionGroupName?: string;
                }[];
            };
            account?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
                vip?: boolean;
                upcomingRenewalDate?: any;
            };
            topic?: {
                __typename?: "Topic";
                id: string;
                name: string;
                description?: string;
                topicKey?: number;
                statusOption?: {
                    __typename?: "StatusOption";
                    id: string;
                    value?: string;
                };
                typeOption?: {
                    __typename?: "TypeOption";
                    id: string;
                    value: string;
                };
                admin?: {
                    __typename?: "Admin";
                    id: string;
                    firstName?: string;
                    lastName?: string;
                    avatar?: string;
                    email: string;
                };
            };
        }[];
        admin?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        };
        themes?: {
            __typename?: "Theme";
            id: string;
            displayName: string;
        }[];
        parentTopic?: {
            __typename?: "Topic";
            id: string;
            name: string;
            description?: string;
            organizationID: string;
            topicKey?: number;
            isResolved: boolean;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        };
        childTopics?: {
            __typename?: "Topic";
            id: string;
            name: string;
            isResolved: boolean;
            topicKey?: number;
            organizationID: string;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        }[];
        inbox?: {
            __typename?: "Inbox";
            id: string;
            key: string;
            name: string;
        };
        statusOption?: {
            __typename?: "StatusOption";
            color?: string;
            id: string;
            resolvesNeed?: boolean;
            value?: string;
        };
        typeOption?: {
            __typename?: "TypeOption";
            id: string;
            value: string;
        };
        tasks?: {
            __typename?: "Task";
            id: string;
            organizationID: string;
            objectSource?: SourceOfData;
            taskKey?: string;
            projectKey?: string;
            projectName?: string;
            name?: string;
            type?: string;
            status?: string;
            description?: string;
            playbookID?: string;
            actionID?: string;
            milestoneID?: string;
            externalIDs?: {
                __typename?: "ExternalID";
                id: string;
                externalID: string;
            }[];
        }[];
    }>;
    get delete(): (id: string, options?: Omit<MutationOptions<ResultOf<typeof TopicDeleteOneDocument>, VariablesOf<typeof TopicDeleteOneDocument>, DefaultContext, ApolloCache<any>>, 'mutation'>) => Promise<{
        id: string;
    }>;
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").TopicGetQuery>, "query">) => Promise<{
        __typename?: "Topic";
        id: string;
        name: string;
        description?: string;
        organizationID: string;
        topicKey?: number;
        isResolved: boolean;
        hasOpenChild: boolean;
        hasResolvedChild: boolean;
        openCurrentRevenue?: number;
        openClosedLostRevenue?: number;
        openPotentialRevenue?: number;
        resolvedCurrentRevenue?: number;
        resolvedClosedLostRevenue?: number;
        resolvedPotentialRevenue?: number;
        accountsCount?: number;
        usersCount?: number;
        vipAccountsCount?: number;
        vipUsersCount?: number;
        openNeedsCount?: number;
        openUrgentNeedsCount?: number;
        openNeedToHaveNeedsCount?: number;
        openNiceToHaveNeedsCount?: number;
        openNotUrgentNeedsCount?: number;
        resolvedNeedsCount?: number;
        admin?: {
            __typename?: "Admin";
            id: string;
            firstName?: string;
            lastName?: string;
            email: string;
            avatar?: string;
        };
        themes?: {
            __typename?: "Theme";
            id: string;
            displayName: string;
        }[];
        childTopics?: {
            __typename?: "Topic";
            id: string;
            name: string;
            isResolved: boolean;
            topicKey?: number;
            organizationID: string;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        }[];
        parentTopic?: {
            __typename?: "Topic";
            id: string;
            name: string;
            description?: string;
            organizationID: string;
            topicKey?: number;
            isResolved: boolean;
            inbox?: {
                __typename?: "Inbox";
                id: string;
                key: string;
                name: string;
            };
        };
        inbox?: {
            __typename?: "Inbox";
            id: string;
            key: string;
            name: string;
        };
        statusOption?: {
            __typename?: "StatusOption";
            color?: string;
            id: string;
            resolvesNeed?: boolean;
            value?: string;
        };
        typeOption?: {
            __typename?: "TypeOption";
            id: string;
            value: string;
        };
        tasks?: {
            __typename?: "Task";
            id: string;
            organizationID: string;
            objectSource?: SourceOfData;
            taskKey?: string;
            projectKey?: string;
            projectName?: string;
            name?: string;
            type?: string;
            status?: string;
            description?: string;
            playbookID?: string;
            actionID?: string;
            milestoneID?: string;
            externalIDs?: {
                __typename?: "ExternalID";
                id: string;
                externalID: string;
            }[];
        }[];
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TopicGetQuery, 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").TopicGetQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").TopicGetQuery;
        previousData?: import("../API").TopicGetQuery;
        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").TopicGetQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").TopicGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").TopicGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").TopicGetQuery>, "variables">) => import("../API").TopicGetQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TopicGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").TopicGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TopicGetQuery>>;
        fetchMore: <TFetchData = import("../API").TopicGetQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").TopicGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").TopicGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").TopicFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").TopicSort | import("../API").TopicSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TopicListQuery, import("../API").Exact<{
        filter?: import("../API").TopicFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").TopicSort | import("../API").TopicSort[];
    }>>>) => Promise<{
        __typename?: "TopicConnection";
        totalCount: number;
        edges: {
            __typename?: "TopicEdge";
            cursor: any;
            node: {
                __typename?: "Topic";
                id: string;
                name: string;
                topicKey?: number;
                description?: string;
                isResolved: boolean;
                hasOpenChild: boolean;
                hasResolvedChild: boolean;
                inboxID?: string;
                updated_at: any;
                organizationID: string;
                lastStatusChange?: string;
                lastStatusChangedDate?: any;
                openCurrentRevenue?: number;
                openClosedLostRevenue?: number;
                openPotentialRevenue?: number;
                resolvedCurrentRevenue?: number;
                resolvedClosedLostRevenue?: number;
                resolvedPotentialRevenue?: number;
                openNeedsCount?: number;
                resolvedNeedsCount?: number;
                openNeedToHaveNeedsCount?: number;
                openNiceToHaveNeedsCount?: number;
                openNotUrgentNeedsCount?: number;
                openUrgentNeedsCount?: number;
                urgentNeedsCount?: number;
                niceToHaveNeedsCount?: number;
                needToHaveNeedsCount?: number;
                accountsCount?: number;
                usersCount?: number;
                vipAccountsCount?: number;
                vipUsersCount?: number;
                currentRevenue?: number;
                openOpportunityRevenue?: number;
                lostRevenue?: number;
                admin?: {
                    __typename?: "Admin";
                    id: string;
                    firstName?: string;
                    lastName?: string;
                    email: string;
                    avatar?: string;
                };
                childTopics?: {
                    __typename?: "Topic";
                    id: string;
                    name: string;
                    isResolved: boolean;
                    topicKey?: number;
                    organizationID: string;
                    inbox?: {
                        __typename?: "Inbox";
                        id: string;
                        key: string;
                        name: string;
                    };
                }[];
                themes?: {
                    __typename?: "Theme";
                    id: string;
                    displayName: string;
                }[];
                parentTopic?: {
                    __typename?: "Topic";
                    id: string;
                    name: string;
                    organizationID: string;
                    topicKey?: number;
                    isResolved: boolean;
                    inbox?: {
                        __typename?: "Inbox";
                        id: string;
                        key: string;
                        name: string;
                    };
                };
                inbox?: {
                    __typename?: "Inbox";
                    id: string;
                    key: string;
                    name: string;
                };
                statusOption?: {
                    __typename?: "StatusOption";
                    color?: string;
                    id: string;
                    resolvesNeed?: boolean;
                    value?: string;
                };
                typeOption?: {
                    __typename?: "TypeOption";
                    id: string;
                    value: string;
                };
                tasks?: {
                    __typename?: "Task";
                    id: string;
                    organizationID: string;
                    objectSource?: SourceOfData;
                    taskKey?: string;
                    projectKey?: string;
                    projectName?: string;
                    name?: string;
                    type?: string;
                    status?: string;
                    description?: string;
                    playbookID?: string;
                    actionID?: string;
                    milestoneID?: string;
                    externalIDs?: {
                        __typename?: "ExternalID";
                        id: string;
                        externalID: string;
                    }[];
                }[];
            };
        }[];
        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").TopicListQuery, import("../API").Exact<{
        filter?: import("../API").TopicFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").TopicSort | import("../API").TopicSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").TopicListQuery, import("../API").Exact<{
            filter?: import("../API").TopicFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>;
        data: import("../API").TopicListQuery;
        previousData?: import("../API").TopicListQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            filter?: import("../API").TopicFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").TopicListQuery, TSubscriptionVariables = import("../API").Exact<{
            filter?: import("../API").TopicFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").TopicListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            filter?: import("../API").TopicFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>(mapFn: (previousQueryResult: import("../API").TopicListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").TopicListQuery>, "variables">) => import("../API").TopicListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").TopicFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TopicListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").TopicFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>, import("../API").TopicListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TopicListQuery>>;
        fetchMore: <TFetchData = import("../API").TopicListQuery, TFetchVars = import("../API").Exact<{
            filter?: import("../API").TopicFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").TopicListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").TopicListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useListSubTopics(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").TopicListDirectChildrenQuery, import("../API").Exact<{
        parentTopicID: string;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").TopicSort | import("../API").TopicSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").TopicListDirectChildrenQuery, import("../API").Exact<{
            parentTopicID: string;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>;
        data: import("../API").TopicListDirectChildrenQuery;
        previousData?: import("../API").TopicListDirectChildrenQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            parentTopicID: string;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").TopicListDirectChildrenQuery, TSubscriptionVariables = import("../API").Exact<{
            parentTopicID: string;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").TopicListDirectChildrenQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            parentTopicID: string;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>(mapFn: (previousQueryResult: import("../API").TopicListDirectChildrenQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").TopicListDirectChildrenQuery>, "variables">) => import("../API").TopicListDirectChildrenQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            parentTopicID: string;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TopicListDirectChildrenQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            parentTopicID: string;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>, import("../API").TopicListDirectChildrenQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").TopicListDirectChildrenQuery>>;
        fetchMore: <TFetchData = import("../API").TopicListDirectChildrenQuery, TFetchVars = import("../API").Exact<{
            parentTopicID: string;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").TopicSort | import("../API").TopicSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").TopicListDirectChildrenQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").TopicListDirectChildrenQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useUpdateTopicAndDataToNewWorkspace(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").UpdateTopicAndDataToNewWorkspaceMutation, import("../API").Exact<{
        inboxId: string;
        topicId: string;
    }>>>>) => import("@apollo/client").MutationTuple<{
        [key: string]: any;
    }, {
        [key: string]: any;
    }, DefaultContext, ApolloCache<any>>;
    canBeMovedCallback: CanBeMovedCallback<ServiceReturnType<'topic', 'list'>['edges'][number]['node']>;
}
export {};
