import { FormProperty } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class FormPropertyService extends CRUDService<FormProperty> {
    protected hasOneModels: ICrudService<FormProperty>['hasOneModels'];
    protected hasManyModels: ICrudService<FormProperty>['hasManyModels'];
    get create(): (input: Partial<Record<"formPropertyValues", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<FormProperty>, import("../../..").ModelWithId>> & Omit<import("../API").CreateFormProperty, "formPropertyValues" | import("../core").HasOneRelationsOf<FormProperty>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").CreateOneFormPropertyMutation, import("../API").Exact<{
        input: import("../API").CreateFormProperty;
    }>>>) => Promise<{
        __typename?: "FormProperty";
        id: string;
        formID: string;
        autoAssignValue?: boolean;
        internalProperty?: string;
        isActive?: boolean;
        isRequired?: boolean;
        label?: string;
        organizationID: string;
        placeholderValue?: string;
        sortIndex?: number;
        type: string;
        created_at: any;
        updated_at: any;
        formPropertyValues?: {
            __typename?: "FormPropertyValue";
            id: string;
            BooleanValue?: boolean;
            DateValue?: any;
            NumberValue?: number;
            TextValue?: string;
            updated_at: any;
            created_at: any;
        }[];
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").CreateOneFormPropertyMutation, import("../API").Exact<{
        input: import("../API").CreateFormProperty;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").CreateOneFormPropertyMutation, import("../API").Exact<{
        input: import("../API").CreateFormProperty;
    }>>, FormProperty>) => Promise<{
        __typename?: "FormProperty";
        id: string;
        formID: string;
        autoAssignValue?: boolean;
        internalProperty?: string;
        isActive?: boolean;
        isRequired?: boolean;
        label?: string;
        organizationID: string;
        placeholderValue?: string;
        sortIndex?: number;
        type: string;
        created_at: any;
        updated_at: any;
        formPropertyValues?: {
            __typename?: "FormPropertyValue";
            id: string;
            BooleanValue?: boolean;
            DateValue?: any;
            NumberValue?: number;
            TextValue?: string;
            updated_at: any;
            created_at: any;
        }[];
    }>, import("@apollo/client").MutationResult<{
        createOne: import("../../..").ModelWithId;
    }>];
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").FormPropertyQuery>, "query">) => Promise<{
        __typename?: "FormProperty";
        id: string;
        formID: string;
        autoAssignValue?: boolean;
        internalProperty?: string;
        isActive?: boolean;
        isRequired?: boolean;
        label?: string;
        organizationID: string;
        placeholderValue?: string;
        sortIndex?: number;
        type: string;
        created_at: any;
        updated_at: any;
        formPropertyValues?: {
            __typename?: "FormPropertyValue";
            id: string;
            BooleanValue?: boolean;
            DateValue?: any;
            NumberValue?: number;
            TextValue?: string;
            updated_at: any;
            created_at: any;
        }[];
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").FormPropertyQuery, 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").FormPropertyQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").FormPropertyQuery;
        previousData?: import("../API").FormPropertyQuery;
        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").FormPropertyQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").FormPropertyQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").FormPropertyQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").FormPropertyQuery>, "variables">) => import("../API").FormPropertyQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").FormPropertyQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").FormPropertyQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").FormPropertyQuery>>;
        variables: import("../API").Exact<{
            id: string;
        }>;
        fetchMore: <TFetchData = import("../API").FormPropertyQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").FormPropertyQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").FormPropertyQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get list(): (input: import("../API").Exact<{
        filter: import("../API").FormPropertyFilter;
        paging: import("../API").CursorPaging;
        sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").FormPropertiesQuery, import("../API").Exact<{
        filter: import("../API").FormPropertyFilter;
        paging: import("../API").CursorPaging;
        sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
    }>>>) => Promise<{
        __typename?: "FormPropertyConnection";
        totalCount: number;
        edges: {
            __typename?: "FormPropertyEdge";
            cursor: any;
            node: {
                __typename?: "FormProperty";
                id: string;
                formID: string;
                autoAssignValue?: boolean;
                internalProperty?: string;
                isActive?: boolean;
                isRequired?: boolean;
                label?: string;
                organizationID: string;
                placeholderValue?: string;
                sortIndex?: number;
                type: string;
                created_at: any;
                updated_at: any;
                formPropertyValues?: {
                    __typename?: "FormPropertyValue";
                    id: string;
                    BooleanValue?: boolean;
                    DateValue?: any;
                    NumberValue?: number;
                    TextValue?: string;
                    updated_at: any;
                    created_at: any;
                }[];
            };
        }[];
        pageInfo: {
            __typename?: "PageInfo";
            hasNextPage?: boolean;
            hasPreviousPage?: boolean;
            startCursor?: any;
            endCursor?: any;
        };
    }>;
    get useList(): (options: import("../core").CacheUpdateOptions<import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").FormPropertiesQuery, import("../API").Exact<{
        filter: import("../API").FormPropertyFilter;
        paging: import("../API").CursorPaging;
        sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").FormPropertiesQuery, import("../API").Exact<{
            filter: import("../API").FormPropertyFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
        }>>;
        data: import("../API").FormPropertiesQuery;
        previousData?: import("../API").FormPropertiesQuery;
        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").FormPropertiesQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter: import("../API").FormPropertyFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").FormPropertiesQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter: import("../API").FormPropertyFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
        }>>(mapFn: (previousQueryResult: import("../API").FormPropertiesQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").FormPropertiesQuery>, "variables">) => import("../API").FormPropertiesQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter: import("../API").FormPropertyFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").FormPropertiesQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter: import("../API").FormPropertyFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
        }>, import("../API").FormPropertiesQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").FormPropertiesQuery>>;
        variables: import("../API").Exact<{
            filter: import("../API").FormPropertyFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
        }>;
        fetchMore: <TFetchData = import("../API").FormPropertiesQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter: import("../API").FormPropertyFilter;
            paging: import("../API").CursorPaging;
            sorting: import("../API").FormPropertySort | import("../API").FormPropertySort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").FormPropertiesQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").FormPropertiesQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get update(): (input: Partial<Record<"formPropertyValues", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<FormProperty>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateFormProperty, "formPropertyValues" | import("../core").HasOneRelationsOf<FormProperty>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").UpdateOneFormPropertyMutation, import("../API").Exact<{
        input: import("../API").UpdateOneFormPropertyInput;
    }>>>) => Promise<{
        __typename?: "FormProperty";
        id: string;
        formID: string;
        autoAssignValue?: boolean;
        internalProperty?: string;
        isActive?: boolean;
        isRequired?: boolean;
        label?: string;
        organizationID: string;
        placeholderValue?: string;
        sortIndex?: number;
        type: string;
        created_at: any;
        updated_at: any;
        formPropertyValues?: {
            __typename?: "FormPropertyValue";
            id: string;
            BooleanValue?: boolean;
            DateValue?: any;
            NumberValue?: number;
            TextValue?: string;
            updated_at: any;
            created_at: any;
        }[];
    }>;
    get useUpdate(): (mainOptions?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").UpdateOneFormPropertyMutation, import("../API").Exact<{
        input: import("../API").UpdateOneFormPropertyInput;
    }>>>>) => [({ id, ...input }: Partial<Record<"formPropertyValues", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<FormProperty>, import("../../..").ModelWithId>> & import("../API").UpdateFormProperty & {
        id: string;
    }, options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").UpdateOneFormPropertyMutation, import("../API").Exact<{
        input: import("../API").UpdateOneFormPropertyInput;
    }>>>>) => 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").DeleteOneFormPropertyMutation, import("../API").Exact<{
        input: import("../API").DeleteOneFormPropertyInput;
    }>>>) => Promise<{
        __typename?: "FormPropertyDeleteResponse";
        id?: string;
    }>;
    get useDelete(): (options?: import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").DeleteOneFormPropertyMutation, import("../API").Exact<{
        input: import("../API").DeleteOneFormPropertyInput;
    }>>>) => [(id?: string) => Promise<{
        __typename?: "FormPropertyDeleteResponse";
        id?: string;
    }>, import("@apollo/client").MutationResult<import("../API").DeleteOneFormPropertyMutation>];
}
