import { ExternalId } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class ExternalIDService extends CRUDService<ExternalId> {
    protected hasOneModels: ICrudService<ExternalId>['hasOneModels'];
    get create(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<ExternalId>, import("../../..").ModelWithId>> & Omit<import("../API").CreateExternalId, import("../core").HasOneRelationsOf<ExternalId>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ExternalIdCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateExternalId;
    }>>>) => Promise<{
        __typename?: "ExternalID";
        accountID?: string;
        created_at: any;
        email?: string;
        externalID: string;
        id: string;
        needID?: string;
        objectSource: string;
        objectType: string;
        opportunityID?: string;
        organizationID: string;
        updated_at: any;
        userID?: string;
        account?: {
            __typename?: "Account";
            id: string;
            nrr?: number;
            vip?: boolean;
            atRisk?: boolean;
            displayName?: string;
            objectSource?: import("../API").SourceOfData;
            opportunitiesCount?: number;
            needsCount?: number;
            openCurrentRevenue?: number;
            openPotentialRevenue?: number;
            accountType?: string;
            vipNeedsCount?: number;
            created_at: any;
            totalClosedLostRevenue?: number;
            totalCurrentRevenue?: number;
            totalPotentialRevenue?: number;
            needs: {
                __typename?: "Need";
                id: string;
                isResolved?: boolean;
                isArchived?: boolean;
                isDeleted?: boolean;
            }[];
        };
        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?: import("../API").SourceOfData;
            isArchived?: boolean;
            processedDate?: any;
            device?: string;
            browser?: string;
            updated_at: any;
            created_at: any;
            risks?: {
                __typename?: "Risk";
                id: string;
                value?: string;
            }[];
            surveyResponse?: {
                __typename?: "SurveyResponse";
                id: string;
            };
            attachments?: {
                __typename?: "Attachment";
                artifactID?: string;
                needID?: string;
                description: string;
            }[];
            user?: {
                __typename?: "User";
                userDetails?: string;
                created_at: any;
                updated_at: any;
                id: string;
                vip?: boolean;
                email?: string;
                firstName?: string;
                lastName?: string;
                fullName?: string;
                objectSource?: import("../API").SourceOfData;
                externalIDs?: {
                    __typename?: "ExternalID";
                    accountID?: string;
                    email?: string;
                    externalID: string;
                    id: string;
                    needID?: string;
                    objectSource: string;
                    objectType: string;
                    opportunityID?: string;
                    organizationID: string;
                    userID?: string;
                }[];
                accounts?: {
                    __typename?: "Account";
                    id: string;
                    displayName?: string;
                }[];
            };
            account?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            };
        };
        opportunity?: {
            __typename?: "Opportunity";
            accountID?: string;
            amount?: number;
            closedDate?: any;
            created_at: any;
            expirationDate?: any;
            externalOpportunityID?: string;
            integrationID?: string;
            renewalDate?: any;
            organizationID: string;
            stageID?: string;
            updated_at: any;
            id: string;
            name?: string;
            displayName: string;
            status: import("../API").OpportunityStatus;
            type?: import("../API").OpportunityType;
            description?: string;
            objectSource?: import("../API").SourceOfData;
            externalIDs?: {
                __typename?: "ExternalID";
                externalID: string;
                id: string;
                objectSource: string;
                integrationInstance?: {
                    __typename?: "IntegrationInstance";
                    id: string;
                    name: string;
                    integrationDocument: {
                        __typename?: "IntegrationDocument";
                        category?: import("../API").IntegrationCategory;
                    };
                };
            }[];
        };
        user?: {
            __typename?: "User";
            userDetails?: string;
            created_at: any;
            updated_at: any;
            id: string;
            vip?: boolean;
            email?: string;
            firstName?: string;
            lastName?: string;
            fullName?: string;
            objectSource?: import("../API").SourceOfData;
            externalIDs?: {
                __typename?: "ExternalID";
                accountID?: string;
                email?: string;
                externalID: string;
                id: string;
                needID?: string;
                objectSource: string;
                objectType: string;
                opportunityID?: string;
                organizationID: string;
                userID?: string;
            }[];
            accounts?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            }[];
        };
        integrationInstance?: {
            __typename?: "IntegrationInstance";
            id: string;
            name: string;
        };
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ExternalIdCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateExternalId;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ExternalIdCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateExternalId;
    }>>, ExternalId>) => Promise<{
        __typename?: "ExternalID";
        accountID?: string;
        created_at: any;
        email?: string;
        externalID: string;
        id: string;
        needID?: string;
        objectSource: string;
        objectType: string;
        opportunityID?: string;
        organizationID: string;
        updated_at: any;
        userID?: string;
        account?: {
            __typename?: "Account";
            id: string;
            nrr?: number;
            vip?: boolean;
            atRisk?: boolean;
            displayName?: string;
            objectSource?: import("../API").SourceOfData;
            opportunitiesCount?: number;
            needsCount?: number;
            openCurrentRevenue?: number;
            openPotentialRevenue?: number;
            accountType?: string;
            vipNeedsCount?: number;
            created_at: any;
            totalClosedLostRevenue?: number;
            totalCurrentRevenue?: number;
            totalPotentialRevenue?: number;
            needs: {
                __typename?: "Need";
                id: string;
                isResolved?: boolean;
                isArchived?: boolean;
                isDeleted?: boolean;
            }[];
        };
        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?: import("../API").SourceOfData;
            isArchived?: boolean;
            processedDate?: any;
            device?: string;
            browser?: string;
            updated_at: any;
            created_at: any;
            risks?: {
                __typename?: "Risk";
                id: string;
                value?: string;
            }[];
            surveyResponse?: {
                __typename?: "SurveyResponse";
                id: string;
            };
            attachments?: {
                __typename?: "Attachment";
                artifactID?: string;
                needID?: string;
                description: string;
            }[];
            user?: {
                __typename?: "User";
                userDetails?: string;
                created_at: any;
                updated_at: any;
                id: string;
                vip?: boolean;
                email?: string;
                firstName?: string;
                lastName?: string;
                fullName?: string;
                objectSource?: import("../API").SourceOfData;
                externalIDs?: {
                    __typename?: "ExternalID";
                    accountID?: string;
                    email?: string;
                    externalID: string;
                    id: string;
                    needID?: string;
                    objectSource: string;
                    objectType: string;
                    opportunityID?: string;
                    organizationID: string;
                    userID?: string;
                }[];
                accounts?: {
                    __typename?: "Account";
                    id: string;
                    displayName?: string;
                }[];
            };
            account?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            };
        };
        opportunity?: {
            __typename?: "Opportunity";
            accountID?: string;
            amount?: number;
            closedDate?: any;
            created_at: any;
            expirationDate?: any;
            externalOpportunityID?: string;
            integrationID?: string;
            renewalDate?: any;
            organizationID: string;
            stageID?: string;
            updated_at: any;
            id: string;
            name?: string;
            displayName: string;
            status: import("../API").OpportunityStatus;
            type?: import("../API").OpportunityType;
            description?: string;
            objectSource?: import("../API").SourceOfData;
            externalIDs?: {
                __typename?: "ExternalID";
                externalID: string;
                id: string;
                objectSource: string;
                integrationInstance?: {
                    __typename?: "IntegrationInstance";
                    id: string;
                    name: string;
                    integrationDocument: {
                        __typename?: "IntegrationDocument";
                        category?: import("../API").IntegrationCategory;
                    };
                };
            }[];
        };
        user?: {
            __typename?: "User";
            userDetails?: string;
            created_at: any;
            updated_at: any;
            id: string;
            vip?: boolean;
            email?: string;
            firstName?: string;
            lastName?: string;
            fullName?: string;
            objectSource?: import("../API").SourceOfData;
            externalIDs?: {
                __typename?: "ExternalID";
                accountID?: string;
                email?: string;
                externalID: string;
                id: string;
                needID?: string;
                objectSource: string;
                objectType: string;
                opportunityID?: string;
                organizationID: string;
                userID?: string;
            }[];
            accounts?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            }[];
        };
        integrationInstance?: {
            __typename?: "IntegrationInstance";
            id: string;
            name: string;
        };
    }>, import("@apollo/client").MutationResult<{
        createOne: import("../../..").ModelWithId;
    }>];
    get update(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<ExternalId>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateExternalId, import("../core").HasOneRelationsOf<ExternalId>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ExternalIdUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneExternalIdInput;
    }>>>) => Promise<{
        __typename?: "ExternalID";
        accountID?: string;
        created_at: any;
        email?: string;
        externalID: string;
        id: string;
        needID?: string;
        objectSource: string;
        objectType: string;
        opportunityID?: string;
        organizationID: string;
        updated_at: any;
        userID?: string;
        account?: {
            __typename?: "Account";
            id: string;
            nrr?: number;
            vip?: boolean;
            atRisk?: boolean;
            displayName?: string;
            objectSource?: import("../API").SourceOfData;
            opportunitiesCount?: number;
            needsCount?: number;
            openCurrentRevenue?: number;
            openPotentialRevenue?: number;
            accountType?: string;
            vipNeedsCount?: number;
            created_at: any;
            totalClosedLostRevenue?: number;
            totalCurrentRevenue?: number;
            totalPotentialRevenue?: number;
            needs: {
                __typename?: "Need";
                id: string;
                isResolved?: boolean;
                isArchived?: boolean;
                isDeleted?: boolean;
            }[];
        };
        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?: import("../API").SourceOfData;
            isArchived?: boolean;
            processedDate?: any;
            device?: string;
            browser?: string;
            updated_at: any;
            created_at: any;
            risks?: {
                __typename?: "Risk";
                id: string;
                value?: string;
            }[];
            surveyResponse?: {
                __typename?: "SurveyResponse";
                id: string;
            };
            attachments?: {
                __typename?: "Attachment";
                artifactID?: string;
                needID?: string;
                description: string;
            }[];
            user?: {
                __typename?: "User";
                userDetails?: string;
                created_at: any;
                updated_at: any;
                id: string;
                vip?: boolean;
                email?: string;
                firstName?: string;
                lastName?: string;
                fullName?: string;
                objectSource?: import("../API").SourceOfData;
                externalIDs?: {
                    __typename?: "ExternalID";
                    accountID?: string;
                    email?: string;
                    externalID: string;
                    id: string;
                    needID?: string;
                    objectSource: string;
                    objectType: string;
                    opportunityID?: string;
                    organizationID: string;
                    userID?: string;
                }[];
                accounts?: {
                    __typename?: "Account";
                    id: string;
                    displayName?: string;
                }[];
            };
            account?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            };
        };
        opportunity?: {
            __typename?: "Opportunity";
            accountID?: string;
            amount?: number;
            closedDate?: any;
            created_at: any;
            expirationDate?: any;
            externalOpportunityID?: string;
            integrationID?: string;
            renewalDate?: any;
            organizationID: string;
            stageID?: string;
            updated_at: any;
            id: string;
            name?: string;
            displayName: string;
            status: import("../API").OpportunityStatus;
            type?: import("../API").OpportunityType;
            description?: string;
            objectSource?: import("../API").SourceOfData;
            externalIDs?: {
                __typename?: "ExternalID";
                externalID: string;
                id: string;
                objectSource: string;
                integrationInstance?: {
                    __typename?: "IntegrationInstance";
                    id: string;
                    name: string;
                    integrationDocument: {
                        __typename?: "IntegrationDocument";
                        category?: import("../API").IntegrationCategory;
                    };
                };
            }[];
        };
        user?: {
            __typename?: "User";
            userDetails?: string;
            created_at: any;
            updated_at: any;
            id: string;
            vip?: boolean;
            email?: string;
            firstName?: string;
            lastName?: string;
            fullName?: string;
            objectSource?: import("../API").SourceOfData;
            externalIDs?: {
                __typename?: "ExternalID";
                accountID?: string;
                email?: string;
                externalID: string;
                id: string;
                needID?: string;
                objectSource: string;
                objectType: string;
                opportunityID?: string;
                organizationID: string;
                userID?: string;
            }[];
            accounts?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            }[];
        };
        integrationInstance?: {
            __typename?: "IntegrationInstance";
            id: string;
            name: string;
        };
    }>;
    get useUpdate(): (mainOptions?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ExternalIdUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneExternalIdInput;
    }>>>>) => [({ id, ...input }: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<ExternalId>, import("../../..").ModelWithId>> & import("../API").UpdateExternalId & {
        id: string;
    }, options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ExternalIdUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneExternalIdInput;
    }>>>>) => Promise<Record<string, unknown>>, import("@apollo/client").MutationResult<{
        updateOne: Record<string, unknown>;
    }>];
}
