import { CRUDService, ICrudService } from '../core';
type CVU = {
    id: string;
    name: string;
    organizationID: string;
};
export declare class CVUService extends CRUDService<CVU> {
    protected hasOneModels: ICrudService<CVU>['hasOneModels'];
    get create(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<"organization", import("../../..").ModelWithId>> & Omit<import("../API").CvuInput, "organization">, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").CvuCreateOneMutation, import("../API").Exact<{
        input: import("../API").CvuInput;
    }>>>) => Promise<{
        __typename?: "Cvu";
        id: string;
        organizationID: string;
        denominator?: number;
        numerator?: number;
        percentValue?: number;
        remainingCount?: number;
        remainingPercentValue?: number;
        created_at: any;
        updated_at: any;
        account?: {
            __typename?: "Account";
            id: string;
            displayName?: string;
            upcomingRenewalDate?: any;
            properties?: {
                __typename?: "Property";
                parlorKey: string;
                NumberValue?: number;
            }[];
        };
        calculationTemplate?: {
            __typename?: "CvuCalculationTemplate";
            id: string;
            name?: string;
            description?: string;
            cvuUnitPrice?: {
                __typename?: "PropertyMap";
                id: string;
                name: string;
                parlorKey?: string;
                objectType: import("../API").PropertyType;
            };
        };
    }>;
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").CvuFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").CvuSort | import("../API").CvuSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").CvuListQuery, import("../API").Exact<{
        filter?: import("../API").CvuFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").CvuSort | import("../API").CvuSort[];
    }>>>) => Promise<{
        __typename?: "CvuConnection";
        totalCount: number;
        edges: {
            __typename?: "CvuEdge";
            cursor: any;
            node: {
                __typename?: "Cvu";
                id: string;
                organizationID: string;
                denominator?: number;
                numerator?: number;
                percentValue?: number;
                remainingCount?: number;
                remainingPercentValue?: number;
                created_at: any;
                updated_at: any;
                account?: {
                    __typename?: "Account";
                    id: string;
                    displayName?: string;
                    upcomingRenewalDate?: any;
                    properties?: {
                        __typename?: "Property";
                        parlorKey: string;
                        NumberValue?: number;
                    }[];
                };
                calculationTemplate?: {
                    __typename?: "CvuCalculationTemplate";
                    id: string;
                    name?: string;
                    description?: string;
                    cvuUnitPrice?: {
                        __typename?: "PropertyMap";
                        id: string;
                        name: string;
                        parlorKey?: string;
                        objectType: import("../API").PropertyType;
                    };
                };
            };
        }[];
        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").CvuListQuery, import("../API").Exact<{
        filter?: import("../API").CvuFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").CvuSort | import("../API").CvuSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").CvuListQuery, import("../API").Exact<{
            filter?: import("../API").CvuFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").CvuSort | import("../API").CvuSort[];
        }>>;
        data: import("../API").CvuListQuery;
        previousData?: import("../API").CvuListQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            filter?: import("../API").CvuFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").CvuSort | import("../API").CvuSort[];
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").CvuListQuery, TSubscriptionVariables = import("../API").Exact<{
            filter?: import("../API").CvuFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").CvuSort | import("../API").CvuSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").CvuListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            filter?: import("../API").CvuFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").CvuSort | import("../API").CvuSort[];
        }>>(mapFn: (previousQueryResult: import("../API").CvuListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").CvuListQuery>, "variables">) => import("../API").CvuListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").CvuFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").CvuSort | import("../API").CvuSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").CvuListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").CvuFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").CvuSort | import("../API").CvuSort[];
        }>, import("../API").CvuListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").CvuListQuery>>;
        fetchMore: <TFetchData = import("../API").CvuListQuery, TFetchVars = import("../API").Exact<{
            filter?: import("../API").CvuFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").CvuSort | import("../API").CvuSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").CvuListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").CvuListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
export {};
