/// <reference types="react" />
import { Reference } from 'alinea/core';
import { ExporerItemSelect } from '../view/explorer/Explorer.js';
type ExplorerContext = {
    selectable?: Array<string> | boolean;
    selection: Array<Reference>;
    onSelect: (entry: ExporerItemSelect) => void;
    onNavigate?: (entryId: string) => void;
    showMedia?: boolean;
    border?: boolean;
};
export declare function useExplorer(): ExplorerContext;
export declare const ExplorerProvider: import("react").Provider<ExplorerContext | undefined>;
export {};
