import { Step } from '../API';
import { CRUDService, ICrudService } from '../core';
export declare class StepService extends CRUDService<Step> {
    protected hasOneModels: ICrudService<Step>['hasOneModels'];
    protected hasManyModels: ICrudService<Step>['hasManyModels'];
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../API").Exact<{
        id: string;
    }>, import("../API").StepGetQuery>, "query">) => Promise<{
        __typename: "Step";
        id: string;
        created_at: any;
        updated_at: any;
        organizationID?: string;
        isSkipVisible?: boolean;
        order?: number;
        name?: string;
        points?: number;
        stepType?: import("../API").StepType;
        element?: string;
        guideID?: string;
        attachmentBlocks?: {
            __typename?: "AttachmentBlock";
            id: string;
            order?: number;
            stepID?: string;
            updated_at: any;
            created_at: any;
            attachments: {
                __typename?: "Attachment";
                id: string;
                signedUrl: string;
            }[];
        }[];
        headerBlocks?: {
            __typename?: "HeaderBlock";
            id: string;
            headerStyle: import("../API").HeaderStyle;
            order?: number;
            text: string;
            updated_at: any;
            created_at: any;
        }[];
        textBlocks?: {
            __typename?: "TextBlock";
            id: string;
            order?: number;
            text?: string;
            updated_at: any;
            created_at: any;
        }[];
        videoBlocks?: {
            __typename: "VideoBlock";
            id: string;
            created_at: any;
            updated_at: any;
            organizationID: string;
            stepID?: string;
            successPlanID?: string;
            text?: string;
            isHTML?: boolean;
            order?: number;
        }[];
    }>;
    get useGet(): (options: import("../core").ServiceQueryHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepGetQuery, 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").StepGetQuery, import("../API").Exact<{
            id: string;
        }>>;
        data: import("../API").StepGetQuery;
        previousData?: import("../API").StepGetQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            id: string;
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").StepGetQuery, TSubscriptionVariables = import("../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").StepGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../API").StepGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").StepGetQuery>, "variables">) => import("../API").StepGetQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").StepGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            id: string;
        }>, import("../API").StepGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").StepGetQuery>>;
        fetchMore: <TFetchData = import("../API").StepGetQuery, TFetchVars = import("../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").StepGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").StepGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get create(): (input: Partial<Record<"events" | "attachmentBlocks" | "headerBlocks" | "textBlocks" | "videoBlocks", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Step>, import("../../..").ModelWithId>> & Omit<import("../API").CreateStep, "events" | "attachmentBlocks" | "headerBlocks" | "textBlocks" | "videoBlocks" | import("../core").HasOneRelationsOf<Step>>, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateStep;
    }>>>) => Promise<{
        __typename: "Step";
        id: string;
        created_at: any;
        updated_at: any;
        organizationID?: string;
        isSkipVisible?: boolean;
        order?: number;
        name?: string;
        points?: number;
        stepType?: import("../API").StepType;
        element?: string;
        guideID?: string;
        attachmentBlocks?: {
            __typename?: "AttachmentBlock";
            id: string;
            order?: number;
            stepID?: string;
            updated_at: any;
            created_at: any;
            attachments: {
                __typename?: "Attachment";
                id: string;
                signedUrl: string;
            }[];
        }[];
        headerBlocks?: {
            __typename?: "HeaderBlock";
            id: string;
            headerStyle: import("../API").HeaderStyle;
            order?: number;
            text: string;
            updated_at: any;
            created_at: any;
        }[];
        textBlocks?: {
            __typename?: "TextBlock";
            id: string;
            order?: number;
            text?: string;
            updated_at: any;
            created_at: any;
        }[];
        videoBlocks?: {
            __typename: "VideoBlock";
            id: string;
            created_at: any;
            updated_at: any;
            organizationID: string;
            stepID?: string;
            successPlanID?: string;
            text?: string;
            isHTML?: boolean;
            order?: number;
        }[];
    }>;
    get useCreate(): (options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateStep;
    }>>>>) => [(payload: import("../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepCreateOneMutation, import("../API").Exact<{
        input: import("../API").CreateStep;
    }>>, Step>) => Promise<{
        __typename: "Step";
        id: string;
        created_at: any;
        updated_at: any;
        organizationID?: string;
        isSkipVisible?: boolean;
        order?: number;
        name?: string;
        points?: number;
        stepType?: import("../API").StepType;
        element?: string;
        guideID?: string;
        attachmentBlocks?: {
            __typename?: "AttachmentBlock";
            id: string;
            order?: number;
            stepID?: string;
            updated_at: any;
            created_at: any;
            attachments: {
                __typename?: "Attachment";
                id: string;
                signedUrl: string;
            }[];
        }[];
        headerBlocks?: {
            __typename?: "HeaderBlock";
            id: string;
            headerStyle: import("../API").HeaderStyle;
            order?: number;
            text: string;
            updated_at: any;
            created_at: any;
        }[];
        textBlocks?: {
            __typename?: "TextBlock";
            id: string;
            order?: number;
            text?: string;
            updated_at: any;
            created_at: any;
        }[];
        videoBlocks?: {
            __typename: "VideoBlock";
            id: string;
            created_at: any;
            updated_at: any;
            organizationID: string;
            stepID?: string;
            successPlanID?: string;
            text?: string;
            isHTML?: boolean;
            order?: number;
        }[];
    }>, import("@apollo/client").MutationResult<any>];
    get delete(): (id: string, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneStepInput;
    }>>>) => Promise<{
        __typename?: "StepDeleteResponse";
        id?: string;
    }>;
    get useDelete(): (options?: import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepDeleteOneMutation, import("../API").Exact<{
        input: import("../API").DeleteOneStepInput;
    }>>>) => [(id?: string) => Promise<{
        __typename?: "StepDeleteResponse";
        id?: string;
    }>, import("@apollo/client").MutationResult<import("../API").StepDeleteOneMutation>];
    get update(): (input: Partial<Record<"events" | "attachmentBlocks" | "headerBlocks" | "textBlocks" | "videoBlocks", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Step>, import("../../..").ModelWithId>> & Omit<import("../API").UpdateStep, "events" | "attachmentBlocks" | "headerBlocks" | "textBlocks" | "videoBlocks" | import("../core").HasOneRelationsOf<Step>> & {
        id: string;
    }, options?: import("../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneStepInput;
    }>>>) => Promise<{
        __typename: "Step";
        id: string;
        created_at: any;
        updated_at: any;
        organizationID?: string;
        isSkipVisible?: boolean;
        order?: number;
        name?: string;
        points?: number;
        stepType?: import("../API").StepType;
        element?: string;
        guideID?: string;
        attachmentBlocks?: {
            __typename?: "AttachmentBlock";
            id: string;
            order?: number;
            stepID?: string;
            updated_at: any;
            created_at: any;
            attachments: {
                __typename?: "Attachment";
                id: string;
                signedUrl: string;
            }[];
        }[];
        headerBlocks?: {
            __typename?: "HeaderBlock";
            id: string;
            headerStyle: import("../API").HeaderStyle;
            order?: number;
            text: string;
            updated_at: any;
            created_at: any;
        }[];
        textBlocks?: {
            __typename?: "TextBlock";
            id: string;
            order?: number;
            text?: string;
            updated_at: any;
            created_at: any;
        }[];
        videoBlocks?: {
            __typename: "VideoBlock";
            id: string;
            created_at: any;
            updated_at: any;
            organizationID: string;
            stepID?: string;
            successPlanID?: string;
            text?: string;
            isHTML?: boolean;
            order?: number;
        }[];
    }>;
    get useUpdate(): (mainOptions?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneStepInput;
    }>>>>) => [({ id, ...input }: Partial<Record<"events" | "attachmentBlocks" | "headerBlocks" | "textBlocks" | "videoBlocks", import("../../..").ModelWithId[]> & Record<import("../core").HasOneRelationsOf<Step>, import("../../..").ModelWithId>> & import("../API").UpdateStep & {
        id: string;
    }, options?: import("../core").CacheUpdateOptions<import("../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepUpdateOneMutation, import("../API").Exact<{
        input: import("../API").UpdateOneStepInput;
    }>>>>) => Promise<any>, import("@apollo/client").MutationResult<any>];
    get list(): (input: import("../API").Exact<{
        filter?: import("../API").StepFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").StepSort | import("../API").StepSort[];
    }>, options?: import("../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../API").StepListQuery, import("../API").Exact<{
        filter?: import("../API").StepFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").StepSort | import("../API").StepSort[];
    }>>>) => Promise<{
        __typename?: "StepConnection";
        totalCount: number;
        edges: {
            __typename?: "StepEdge";
            node: {
                __typename: "Step";
                id: string;
                created_at: any;
                updated_at: any;
                organizationID?: string;
                isSkipVisible?: boolean;
                order?: number;
                name?: string;
                points?: number;
                stepType?: import("../API").StepType;
                element?: string;
                guideID?: string;
                attachmentBlocks?: {
                    __typename?: "AttachmentBlock";
                    id: string;
                    order?: number;
                    stepID?: string;
                    updated_at: any;
                    created_at: any;
                    attachments: {
                        __typename?: "Attachment";
                        id: string;
                        signedUrl: string;
                    }[];
                }[];
                headerBlocks?: {
                    __typename?: "HeaderBlock";
                    id: string;
                    headerStyle: import("../API").HeaderStyle;
                    order?: number;
                    text: string;
                    updated_at: any;
                    created_at: any;
                }[];
                textBlocks?: {
                    __typename?: "TextBlock";
                    id: string;
                    order?: number;
                    text?: string;
                    updated_at: any;
                    created_at: any;
                }[];
                videoBlocks?: {
                    __typename: "VideoBlock";
                    id: string;
                    created_at: any;
                    updated_at: any;
                    organizationID: string;
                    stepID?: string;
                    successPlanID?: string;
                    text?: string;
                    isHTML?: boolean;
                    order?: number;
                }[];
            };
        }[];
        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").StepListQuery, import("../API").Exact<{
        filter?: import("../API").StepFilter;
        paging?: import("../API").CursorPaging;
        sorting?: import("../API").StepSort | import("../API").StepSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../API").StepListQuery, import("../API").Exact<{
            filter?: import("../API").StepFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StepSort | import("../API").StepSort[];
        }>>;
        data: import("../API").StepListQuery;
        previousData?: import("../API").StepListQuery;
        error?: import("@apollo/client").ApolloError;
        loading: boolean;
        networkStatus: import("@apollo/client").NetworkStatus;
        called: boolean;
        variables: import("../API").Exact<{
            filter?: import("../API").StepFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StepSort | import("../API").StepSort[];
        }>;
        startPolling: (pollInterval: number) => void;
        stopPolling: () => void;
        subscribeToMore: <TSubscriptionData = import("../API").StepListQuery, TSubscriptionVariables = import("../API").Exact<{
            filter?: import("../API").StepFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StepSort | import("../API").StepSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../API").StepListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars = import("../API").Exact<{
            filter?: import("../API").StepFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StepSort | import("../API").StepSort[];
        }>>(mapFn: (previousQueryResult: import("../API").StepListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../API").StepListQuery>, "variables">) => import("../API").StepListQuery) => void;
        refetch: (variables?: Partial<import("../API").Exact<{
            filter?: import("../API").StepFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StepSort | import("../API").StepSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").StepListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../API").Exact<{
            filter?: import("../API").StepFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StepSort | import("../API").StepSort[];
        }>, import("../API").StepListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../API").StepListQuery>>;
        fetchMore: <TFetchData = import("../API").StepListQuery, TFetchVars = import("../API").Exact<{
            filter?: import("../API").StepFilter;
            paging?: import("../API").CursorPaging;
            sorting?: import("../API").StepSort | import("../API").StepSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../API").StepListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../API").StepListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
