import type { BlockItem } from '@riverbankcms/editor-blocks';
import type { EditorUiState } from '../ui/editorUiStore';
import type { ApiClient } from '../services';
type StoreApi<T> = {
    getState: () => T;
    subscribe: (listener: () => void) => () => void;
};
export declare function useBlocksList({ apiClient, uiStore, siteId, entryId, isPage, initialBlocks, }: {
    apiClient: ApiClient;
    uiStore: StoreApi<EditorUiState>;
    siteId: string;
    entryId: string;
    isPage: boolean;
    initialBlocks: BlockItem[];
}): {
    blocksSlice: {
        list: BlockItem[];
        status: "idle";
        actions: {
            setList: (next: BlockItem[]) => void;
        };
    };
};
export {};
