import { VideoBlock } from '../../API';
import { CRUDService, ICrudService } from '../../core';
export declare class VideoBlockService extends CRUDService<VideoBlock> {
    protected hasOneModels: ICrudService<VideoBlock>['hasOneModels'];
    get get(): (id: string, options?: Omit<import("@apollo/client").QueryOptions<import("../../API").Exact<{
        id: string;
    }>, import("../../API").VideoBlockGetQuery>, "query">) => Promise<{
        __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").VideoBlockGetQuery, 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").VideoBlockGetQuery, import("../../API").Exact<{
            id: string;
        }>>;
        data: import("../../API").VideoBlockGetQuery;
        previousData?: import("../../API").VideoBlockGetQuery;
        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").VideoBlockGetQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            id: string;
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../../API").VideoBlockGetQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            id: string;
        }>>(mapFn: (previousQueryResult: import("../../API").VideoBlockGetQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../../API").VideoBlockGetQuery>, "variables">) => import("../../API").VideoBlockGetQuery) => void;
        refetch: (variables?: Partial<import("../../API").Exact<{
            id: string;
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").VideoBlockGetQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../../API").Exact<{
            id: string;
        }>, import("../../API").VideoBlockGetQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").VideoBlockGetQuery>>;
        variables: import("../../API").Exact<{
            id: string;
        }>;
        fetchMore: <TFetchData = import("../../API").VideoBlockGetQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            id: string;
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../../API").VideoBlockGetQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../../API").VideoBlockGetQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
    get create(): (input: Partial<Record<never, import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<VideoBlock>, import("../../../..").ModelWithId>> & Omit<import("../../API").CreateVideoBlock, import("../../core").HasOneRelationsOf<VideoBlock>>, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").VideoBlockCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateVideoBlock;
    }>>>) => Promise<{
        __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").VideoBlockCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateVideoBlock;
    }>>>>) => [(payload: import("../../core").InputAndRelations<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").VideoBlockCreateOneMutation, import("../../API").Exact<{
        input: import("../../API").CreateVideoBlock;
    }>>, VideoBlock>) => Promise<{
        __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<{
        createOne: import("../../../..").ModelWithId;
    }>];
    get delete(): (id: string, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").VideoBlockDeleteOneMutation, import("../../API").Exact<{
        input: import("../../API").DeleteOneVideoBlockInput;
    }>>>) => Promise<{
        __typename?: "VideoBlockDeleteResponse";
        id?: string;
    }>;
    get useDelete(): (options?: import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").VideoBlockDeleteOneMutation, import("../../API").Exact<{
        input: import("../../API").DeleteOneVideoBlockInput;
    }>>>) => [(id?: string) => Promise<{
        __typename?: "VideoBlockDeleteResponse";
        id?: string;
    }>, import("@apollo/client").MutationResult<import("../../API").VideoBlockDeleteOneMutation>];
    get update(): (input: Partial<Record<never, import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<VideoBlock>, import("../../../..").ModelWithId>> & Omit<import("../../API").UpdateVideoBlock, import("../../core").HasOneRelationsOf<VideoBlock>> & {
        id: string;
    }, options?: import("../../core").MutationOptionsWithoutMutation<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").VideoBlockUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateOneVideoBlockInput;
    }>>>) => Promise<{
        __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").VideoBlockUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateOneVideoBlockInput;
    }>>>>) => [({ id, ...input }: Partial<Record<never, import("../../../..").ModelWithId[]> & Record<import("../../core").HasOneRelationsOf<VideoBlock>, import("../../../..").ModelWithId>> & import("../../API").UpdateVideoBlock & {
        id: string;
    }, options?: import("../../core").CacheUpdateOptions<import("../../core").ServiceMutationHookOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").VideoBlockUpdateOneMutation, import("../../API").Exact<{
        input: import("../../API").UpdateOneVideoBlockInput;
    }>>>>) => Promise<Record<string, unknown>>, import("@apollo/client").MutationResult<{
        updateOne: Record<string, unknown>;
    }>];
    get list(): (input: import("../../API").Exact<{
        filter?: import("../../API").VideoBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
    }>, options?: import("../../core").ServiceQueryOptions<import("@graphql-typed-document-node/core").TypedDocumentNode<import("../../API").VideoBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").VideoBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
    }>>>) => Promise<{
        __typename?: "VideoBlockConnection";
        totalCount: number;
        edges: {
            __typename?: "VideoBlockEdge";
            node: {
                __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").VideoBlockListQuery, import("../../API").Exact<{
        filter?: import("../../API").VideoBlockFilter;
        paging?: import("../../API").CursorPaging;
        sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
    }>>>>) => {
        isLoading: boolean;
        isRefetching: boolean;
        hasMore: any;
        refetching: boolean;
        client: import("@apollo/client").ApolloClient<any>;
        observable: import("@apollo/client").ObservableQuery<import("../../API").VideoBlockListQuery, import("../../API").Exact<{
            filter?: import("../../API").VideoBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
        }>>;
        data: import("../../API").VideoBlockListQuery;
        previousData?: import("../../API").VideoBlockListQuery;
        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").VideoBlockListQuery, TSubscriptionVariables extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").VideoBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
        }>>(options: import("@apollo/client").SubscribeToMoreOptions<import("../../API").VideoBlockListQuery, TSubscriptionVariables, TSubscriptionData>) => () => void;
        updateQuery: <TVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").VideoBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
        }>>(mapFn: (previousQueryResult: import("../../API").VideoBlockListQuery, options: Pick<import("@apollo/client").WatchQueryOptions<TVars, import("../../API").VideoBlockListQuery>, "variables">) => import("../../API").VideoBlockListQuery) => void;
        refetch: (variables?: Partial<import("../../API").Exact<{
            filter?: import("../../API").VideoBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
        }>>) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").VideoBlockListQuery>>;
        reobserve: (newOptions?: Partial<import("@apollo/client").WatchQueryOptions<import("../../API").Exact<{
            filter?: import("../../API").VideoBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
        }>, import("../../API").VideoBlockListQuery>>, newNetworkStatus?: import("@apollo/client").NetworkStatus) => Promise<import("@apollo/client").ApolloQueryResult<import("../../API").VideoBlockListQuery>>;
        variables: import("../../API").Exact<{
            filter?: import("../../API").VideoBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
        }>;
        fetchMore: <TFetchData = import("../../API").VideoBlockListQuery, TFetchVars extends import("@apollo/client").OperationVariables = import("../../API").Exact<{
            filter?: import("../../API").VideoBlockFilter;
            paging?: import("../../API").CursorPaging;
            sorting?: import("../../API").VideoBlockSort | import("../../API").VideoBlockSort[];
        }>>(fetchMoreOptions: import("@apollo/client").FetchMoreQueryOptions<TFetchVars, TFetchData> & {
            updateQuery?: (previousQueryResult: import("../../API").VideoBlockListQuery, options: {
                fetchMoreResult: TFetchData;
                variables: TFetchVars;
            }) => import("../../API").VideoBlockListQuery;
        }) => Promise<import("@apollo/client").ApolloQueryResult<TFetchData>>;
    };
}
