import { HeaderBlock } from '../../API';
import { CRUDService, ICrudService } from '../../core';
export declare class HeaderBlockService extends CRUDService<HeaderBlock> {
    protected hasOneModels: ICrudService<HeaderBlock>['hasOneModels'];
    get create(): (input: Partial<Record<never, import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<HeaderBlock>, import("../../../..").ModelWithId>> & Omit<import("../../API").CreateHeaderBlock, import("../../core").HasOneRelationsOf<HeaderBlock>>, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").HeaderBlockCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateHeaderBlock;
    }>>>) => Promise<{
        __typename?: "HeaderBlock";
        id: string;
        headerStyle: import("../../API").HeaderStyle;
        order?: number;
        text: string;
        updated_at: any;
        created_at: any;
    }>;
    get update(): (input: Partial<Record<never, import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<HeaderBlock>, import("../../../..").ModelWithId>> & Omit<import("../../API").UpdateHeaderBlock, import("../../core").HasOneRelationsOf<HeaderBlock>> & {
        id: string;
    }, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").HeaderBlockUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateOneHeaderBlockInput;
    }>>>) => Promise<{
        __typename?: "HeaderBlock";
        id: string;
        headerStyle: import("../../API").HeaderStyle;
        order?: number;
        text: string;
        updated_at: any;
        created_at: any;
    }>;
    get delete(): (id: string, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").HeaderBlockDeleteOneMutation, import("../../API").Exact<{
        input: import("../../API").DeleteOneHeaderBlockInput;
    }>>>) => Promise<{
        __typename?: "HeaderBlockDeleteResponse";
        id?: string;
    }>;
    get list(): (input: import("../../API").Exact<{
        filter?: import("../../API").HeaderBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
    }>, options?: import("../../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").HeaderBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").HeaderBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
    }>>>) => Promise<{
        __typename?: "HeaderBlockConnection";
        totalCount: number;
        edges: {
            __typename?: "HeaderBlockEdge";
            cursor: any;
            node: {
                __typename?: "HeaderBlock";
                id: string;
                headerStyle: import("../../API").HeaderStyle;
                order?: number;
                text: string;
                updated_at: any;
                created_at: any;
            };
        }[];
        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").HeaderBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").HeaderBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../../API").HeaderBlockListQuery, import("../../API").Exact<{
            filter?: import("../../API").HeaderBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
        }>>;
        data: import("../../API").HeaderBlockListQuery;
        previousData?: import("../../API").HeaderBlockListQuery;
        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").HeaderBlockListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").HeaderBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../../API").HeaderBlockListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").HeaderBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
        }>>(mapFn: (previousQueryResult: import("../../API").HeaderBlockListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../../API").HeaderBlockListQuery>, "variables">) => import("../../API").HeaderBlockListQuery) => void;
        refetch: (variables?: Partial<import("../../API").Exact<{
            filter?: import("../../API").HeaderBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").HeaderBlockListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../../API").Exact<{
            filter?: import("../../API").HeaderBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
        }>, import("../../API").HeaderBlockListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").HeaderBlockListQuery>>;
        variables: import("../../API").Exact<{
            filter?: import("../../API").HeaderBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
        }>;
        fetchMore: <TFetchData = import("../../API").HeaderBlockListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").HeaderBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../../API").HeaderBlockListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../../API").HeaderBlockListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get useLazyList(): (options?: import("../../core").CacheUpdateOptions<import("../../core").ServiceLazyQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").HeaderBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").HeaderBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
    }>>>>) => import("@apollo/client").LazyQueryResultTuple<import("../../API").HeaderBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").HeaderBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").HeaderBlockSort | import("../../API").HeaderBlockSort[];
    }>>;
}
