import { AttachmentBlock } from '../../API';
import { CRUDService, ICrudService } from '../../core';
export declare class AttachmentBlockService extends CRUDService<AttachmentBlock> {
    protected hasOneModels: ICrudService<AttachmentBlock>['hasOneModels'];
    get create(): (input: Partial<Record<"attachments", import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<AttachmentBlock>, import("../../../..").ModelWithId>> & Omit<import("../../API").CreateAttachmentBlock, "attachments" | import("../../core").HasOneRelationsOf<AttachmentBlock>>, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").AttachmentBlockCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateAttachmentBlock;
    }>>>) => Promise<{
        __typename?: "AttachmentBlock";
        id: string;
        order?: number;
        stepID?: string;
        updated_at: any;
        created_at: any;
        attachments: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        }[];
    }>;
    get update(): (input: Partial<Record<"attachments", import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<AttachmentBlock>, import("../../../..").ModelWithId>> & Omit<import("../../API").UpdateAttachmentBlock, "attachments" | import("../../core").HasOneRelationsOf<AttachmentBlock>> & {
        id: string;
    }, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").AttachmentBlockUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateOneAttachmentBlockInput;
    }>>>) => Promise<{
        __typename?: "AttachmentBlock";
        id: string;
        order?: number;
        stepID?: string;
        updated_at: any;
        created_at: any;
        attachments: {
            __typename?: "Attachment";
            id: string;
            signedUrl: string;
        }[];
    }>;
    get delete(): (id: string, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").AttachmentBlockDeleteOneMutation, import("../../API").Exact<{
        input: import("../../API").DeleteOneAttachmentBlockInput;
    }>>>) => Promise<{
        __typename?: "AttachmentBlockDeleteResponse";
        id?: string;
    }>;
    get list(): (input: import("../../API").Exact<{
        filter?: import("../../API").AttachmentBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
    }>, options?: import("../../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").AttachmentBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").AttachmentBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
    }>>>) => Promise<{
        __typename?: "AttachmentBlockConnection";
        totalCount: number;
        edges: {
            __typename?: "AttachmentBlockEdge";
            node: {
                __typename?: "AttachmentBlock";
                id: string;
                order?: number;
                stepID?: string;
                updated_at: any;
                created_at: any;
                attachments: {
                    __typename?: "Attachment";
                    id: string;
                    signedUrl: string;
                }[];
            };
        }[];
        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").AttachmentBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").AttachmentBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../../API").AttachmentBlockListQuery, import("../../API").Exact<{
            filter?: import("../../API").AttachmentBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
        }>>;
        data: import("../../API").AttachmentBlockListQuery;
        previousData?: import("../../API").AttachmentBlockListQuery;
        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").AttachmentBlockListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").AttachmentBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../../API").AttachmentBlockListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").AttachmentBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
        }>>(mapFn: (previousQueryResult: import("../../API").AttachmentBlockListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../../API").AttachmentBlockListQuery>, "variables">) => import("../../API").AttachmentBlockListQuery) => void;
        refetch: (variables?: Partial<import("../../API").Exact<{
            filter?: import("../../API").AttachmentBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").AttachmentBlockListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../../API").Exact<{
            filter?: import("../../API").AttachmentBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
        }>, import("../../API").AttachmentBlockListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").AttachmentBlockListQuery>>;
        variables: import("../../API").Exact<{
            filter?: import("../../API").AttachmentBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
        }>;
        fetchMore: <TFetchData = import("../../API").AttachmentBlockListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").AttachmentBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../../API").AttachmentBlockListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../../API").AttachmentBlockListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useLazyList(): (options?: import("../../core").CacheUpdateOptions<import("../../core").ServiceLazyQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").AttachmentBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").AttachmentBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
    }>>>>) => import("@apollo/client").LazyQueryResultTuple<import("../../API").AttachmentBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").AttachmentBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").AttachmentBlockSort | import("../../API").AttachmentBlockSort[];
    }>>;
}
