import { WidgetHeaderParam } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class WidgetHeaderParamService extends CRUDService<WidgetHeaderParam> {
    protected hasOneModels: ICrudService<WidgetHeaderParam>['hasOneModels'];
    get create(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<WidgetHeaderParam>, import("../../..").ModelWithId>> & Omit<import("../API").CreateWidgetHeaderParam, import("../core").HasOneRelationsOf<WidgetHeaderParam>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WidgetHeaderParamCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateWidgetHeaderParam;
    }>>>) => Promise<{
        __typename?: "WidgetHeaderParam";
        id: string;
        title: string;
        description: string;
        defaultFromHeader: import("../API").FromHeader;
        headerTheme: import("../API").ThemeColorOption;
        organizationID: string;
        productID?: 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").WidgetHeaderParamCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateWidgetHeaderParam;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WidgetHeaderParamCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateWidgetHeaderParam;
    }>>, WidgetHeaderParam>) => Promise<{
        __typename?: "WidgetHeaderParam";
        id: string;
        title: string;
        description: string;
        defaultFromHeader: import("../API").FromHeader;
        headerTheme: import("../API").ThemeColorOption;
        organizationID: string;
        productID?: string;
        updated_at: any;
        created_at: any;
    }>, import("@apollo/client").MutationResult<{
        createOne: import("../../..").ModelWithId;
    }>];
    get update(): (input: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<WidgetHeaderParam>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateWidgetHeaderParam, import("../core").HasOneRelationsOf<WidgetHeaderParam>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WidgetHeaderParamUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneWidgetHeaderParamInput;
    }>>>) => Promise<{
        __typename?: "WidgetHeaderParam";
        id: string;
        title: string;
        description: string;
        defaultFromHeader: import("../API").FromHeader;
        headerTheme: import("../API").ThemeColorOption;
        organizationID: string;
        productID?: 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").WidgetHeaderParamUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneWidgetHeaderParamInput;
    }>>>>) => [({ id, ...input }: Partial<Record<never, import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<WidgetHeaderParam>, import("../../..").ModelWithId>> & import("../API").UpdateWidgetHeaderParam & {
        id: string;
    }, options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WidgetHeaderParamUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneWidgetHeaderParamInput;
    }>>>>) => Promise<Record<string, unknown>>, import("@apollo/client").MutationResult<{
        updateOne: Record<string, unknown>;
    }>];
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").WidgetHeaderParamFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").WidgetHeaderParamListQuery, import("../API").Exact<{
        filter?: import("../API").WidgetHeaderParamFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
    }>>>) => Promise<{
        __typename?: "WidgetHeaderParamConnection";
        totalCount: number;
        edges: {
            __typename?: "WidgetHeaderParamEdge";
            node: {
                __typename?: "WidgetHeaderParam";
                id: string;
                title: string;
                description: string;
                defaultFromHeader: import("../API").FromHeader;
                headerTheme: import("../API").ThemeColorOption;
                organizationID: string;
                productID?: string;
                updated_at: any;
                created_at: any;
            };
        }[];
        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").WidgetHeaderParamListQuery, import("../API").Exact<{
        filter?: import("../API").WidgetHeaderParamFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").WidgetHeaderParamListQuery, import("../API").Exact<{
            filter?: import("../API").WidgetHeaderParamFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
        }>>;
        data: import("../API").WidgetHeaderParamListQuery;
        previousData?: import("../API").WidgetHeaderParamListQuery;
        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").WidgetHeaderParamListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").WidgetHeaderParamFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").WidgetHeaderParamListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").WidgetHeaderParamFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
        }>>(mapFn: (previousQueryResult: import("../API").WidgetHeaderParamListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").WidgetHeaderParamListQuery>, "variables">) => import("../API").WidgetHeaderParamListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").WidgetHeaderParamFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").WidgetHeaderParamListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").WidgetHeaderParamFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
        }>, import("../API").WidgetHeaderParamListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").WidgetHeaderParamListQuery>>;
        variables: import("../API").Exact<{
            filter?: import("../API").WidgetHeaderParamFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
        }>;
        fetchMore: <TFetchData = import("../API").WidgetHeaderParamListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../API").Exact<{
            filter?: import("../API").WidgetHeaderParamFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").WidgetHeaderParamSort | import("../API").WidgetHeaderParamSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").WidgetHeaderParamListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").WidgetHeaderParamListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
