import { CmsContentDTO } from '@sentecacommerce/sdk';
export declare function useCmsContent<T>({ data, key, }: {
    key?: string;
    data?: CmsContentDTO;
}): {
    canFetchMore: boolean | undefined;
    clear: () => void;
    error: unknown;
    failureCount: number;
    fetchMore: (fetchMoreVariable?: unknown, options?: import("react-query/types/core/query").FetchMoreOptions | undefined) => Promise<CmsContentDTO | undefined>;
    isError: boolean;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isFetchingMore?: false | "next" | "previous" | undefined;
    isIdle: boolean;
    isInitialData: boolean;
    isLoading: boolean;
    isPreviousData: boolean;
    isPlaceholderData: boolean;
    isStale: boolean;
    isSuccess: boolean;
    refetch: (options?: import("react-query/types/core/query").RefetchOptions | undefined) => Promise<CmsContentDTO | undefined>;
    remove: () => void;
    status: import("react-query").QueryStatus;
    updatedAt: number;
    data: {
        typeName: string;
        tags: string[];
        id: string;
        content: T;
    } | undefined;
};
