import { Response } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class ResponseService extends CRUDService<Response> {
    protected hasOneModels: ICrudService<Response>['hasOneModels'];
    get create(): (input: Partial<Record<"plusOnes", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Response>, import("../../..").ModelWithId>> & Omit<import("../API").ResponseInput, "plusOnes" | import("../core").HasOneRelationsOf<Response>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").CreateResponseOneMutation, import("../API").Exact<{
        input: import("../API").ResponseInput;
    }>>>) => Promise<{
        __typename?: "Response";
        id: string;
        accountID?: string;
        adminID?: string;
        organizationID: string;
        postID: string;
        type: import("../API").ResponseType;
        userID?: string;
        value: import("../API").ResponseValue;
        updated_at: any;
        created_at: any;
        plusOnes?: {
            __typename?: "PlusOne";
            id: string;
            created_at: any;
            adminID?: string;
            accountID?: string;
            userID?: string;
            organizationID: string;
            additionalContext?: string;
            associatedTicketID?: string;
            source?: import("../API").PlusOneSource;
            urgency?: import("../API").UrgencyType;
            account?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            };
            user?: {
                __typename?: "User";
                id: string;
                email?: string;
                firstName?: string;
                lastName?: string;
            };
            risks?: {
                __typename?: "Risk";
                id: string;
                value?: string;
                sortIndex?: number;
            }[];
        }[];
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").CreateResponseOneMutation, import("../API").Exact<{
        input: import("../API").ResponseInput;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").CreateResponseOneMutation, import("../API").Exact<{
        input: import("../API").ResponseInput;
    }>>, Response>) => Promise<{
        __typename?: "Response";
        id: string;
        accountID?: string;
        adminID?: string;
        organizationID: string;
        postID: string;
        type: import("../API").ResponseType;
        userID?: string;
        value: import("../API").ResponseValue;
        updated_at: any;
        created_at: any;
        plusOnes?: {
            __typename?: "PlusOne";
            id: string;
            created_at: any;
            adminID?: string;
            accountID?: string;
            userID?: string;
            organizationID: string;
            additionalContext?: string;
            associatedTicketID?: string;
            source?: import("../API").PlusOneSource;
            urgency?: import("../API").UrgencyType;
            account?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            };
            user?: {
                __typename?: "User";
                id: string;
                email?: string;
                firstName?: string;
                lastName?: string;
            };
            risks?: {
                __typename?: "Risk";
                id: string;
                value?: string;
                sortIndex?: number;
            }[];
        }[];
    }>, import("@apollo/client").MutationResult<{
        createOne: import("../../..").ModelWithId;
    }>];
    get update(): (input: Partial<Record<"plusOnes", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Response>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateResponseInput, "plusOnes" | import("../core").HasOneRelationsOf<Response>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneResponseInput;
    }>>>) => Promise<{
        __typename?: "Response";
        id: string;
        type: import("../API").ResponseType;
        value: import("../API").ResponseValue;
        organizationID: string;
        userID?: string;
        postID: string;
        adminID?: string;
        accountID?: string;
        created_at: any;
        updated_at: any;
        plusOnes?: {
            __typename?: "PlusOne";
            id: string;
            created_at: any;
            adminID?: string;
            accountID?: string;
            userID?: string;
            organizationID: string;
            additionalContext?: string;
            associatedTicketID?: string;
            source?: import("../API").PlusOneSource;
            urgency?: import("../API").UrgencyType;
            account?: {
                __typename?: "Account";
                id: string;
                displayName?: string;
            };
            user?: {
                __typename?: "User";
                id: string;
                email?: string;
                firstName?: string;
                lastName?: string;
            };
            risks?: {
                __typename?: "Risk";
                id: string;
                value?: string;
                sortIndex?: number;
            }[];
        }[];
    }>;
    get useUpdate(): (mainOptions?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneResponseInput;
    }>>>>) => [({ id, ...input }: Partial<Record<"plusOnes", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Response>, import("../../..").ModelWithId>> & import("../API").UpdateResponseInput & {
        id: string;
    }, options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneResponseInput;
    }>>>>) => Promise<Record<string, unknown>>, import("@apollo/client").MutationResult<{
        updateOne: Record<string, unknown>;
    }>];
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneResponseInput;
    }>>>) => Promise<{
        __typename?: "ResponseDeleteResponse";
        id?: string;
    }>;
    get useDelete(): (options?: import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneResponseInput;
    }>>>) => [(id?: string) => Promise<{
        __typename?: "ResponseDeleteResponse";
        id?: string;
    }>, import("@apollo/client").MutationResult<import("../API").ResponseDeleteOneMutation>];
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").ResponseFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseListQuery, import("../API").Exact<{
        filter?: import("../API").ResponseFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
    }>>>) => Promise<{
        __typename?: "ResponseConnection";
        totalCount: number;
        edges: {
            __typename?: "ResponseEdge";
            node: {
                __typename?: "Response";
                id: string;
                type: import("../API").ResponseType;
                value: import("../API").ResponseValue;
                organizationID: string;
                userID?: string;
                postID: string;
                adminID?: string;
                accountID?: string;
                created_at: any;
                updated_at: any;
                user?: {
                    __typename?: "User";
                    id: string;
                    organizationID: string;
                    email?: string;
                    firstName?: string;
                    lastName?: string;
                    fullName?: string;
                    accounts?: {
                        __typename?: "Account";
                        id: string;
                        displayName?: string;
                    }[];
                };
                admin?: {
                    __typename?: "Admin";
                    id: string;
                    firstName?: string;
                    lastName?: string;
                    email: string;
                    avatar?: string;
                };
                plusOnes?: {
                    __typename?: "PlusOne";
                    id: string;
                    created_at: any;
                    adminID?: string;
                    accountID?: string;
                    userID?: string;
                    organizationID: string;
                    additionalContext?: string;
                    associatedTicketID?: string;
                    source?: import("../API").PlusOneSource;
                    urgency?: import("../API").UrgencyType;
                    account?: {
                        __typename?: "Account";
                        id: string;
                        displayName?: string;
                    };
                    user?: {
                        __typename?: "User";
                        id: string;
                        email?: string;
                        firstName?: string;
                        lastName?: string;
                    };
                    risks?: {
                        __typename?: "Risk";
                        id: string;
                        value?: string;
                        sortIndex?: number;
                    }[];
                }[];
            };
        }[];
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: any;
            startCursor?: any;
            hasNextPage?: boolean;
            hasPreviousPage?: boolean;
        };
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseListQuery, import("../API").Exact<{
        filter?: import("../API").ResponseFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").ResponseListQuery, import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>;
        data: import("../API").ResponseListQuery;
        previousData?: import("../API").ResponseListQuery;
        error?: import("@apollo/client").ApolloError;
        errors?: readonly import("graphql").GraphQLFormattedError[];
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").ResponseListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").ResponseListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>(mapFn: (previousQueryResult: import("../API").ResponseListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").ResponseListQuery>, "variables">) => import("../API").ResponseListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ResponseListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>, import("../API").ResponseListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ResponseListQuery>>;
        variables: import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>;
        fetchMore: <TFetchData = import("../API").ResponseListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").ResponseListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").ResponseListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get listSimple(): (input: import("../API").Exact<{
        filter?: import("../API").ResponseFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseListSimpleQuery, import("../API").Exact<{
        filter?: import("../API").ResponseFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
    }>>>) => Promise<{
        __typename?: "ResponseConnection";
        totalCount: number;
        edges: {
            __typename?: "ResponseEdge";
            node: {
                __typename?: "Response";
                id: string;
            };
        }[];
        pageInfo: {
            __typename?: "PageInfo";
            endCursor?: any;
            startCursor?: any;
            hasNextPage?: boolean;
            hasPreviousPage?: boolean;
        };
    }>;
    get useListSimple(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseListSimpleQuery, import("../API").Exact<{
        filter?: import("../API").ResponseFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").ResponseListSimpleQuery, import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>;
        data: import("../API").ResponseListSimpleQuery;
        previousData?: import("../API").ResponseListSimpleQuery;
        error?: import("@apollo/client").ApolloError;
        errors?: readonly import("graphql").GraphQLFormattedError[];
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").ResponseListSimpleQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").ResponseListSimpleQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>(mapFn: (previousQueryResult: import("../API").ResponseListSimpleQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").ResponseListSimpleQuery>, "variables">) => import("../API").ResponseListSimpleQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ResponseListSimpleQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>, import("../API").ResponseListSimpleQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").ResponseListSimpleQuery>>;
        variables: import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>;
        fetchMore: <TFetchData = import("../API").ResponseListSimpleQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").ResponseFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").ResponseListSimpleQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").ResponseListSimpleQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useLazyList(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceLazyQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").ResponseListQuery, import("../API").Exact<{
        filter?: import("../API").ResponseFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
    }>>>>) => import("@apollo/client").LazyQueryResultTuple<import("../API").ResponseListQuery, import("../API").Exact<{
        filter?: import("../API").ResponseFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").ResponseSort | import("../API").ResponseSort[];
    }>>;
}
