export declare type RegistryItem = {
    setCompact: (compact: boolean) => void;
    isCompact: (one: boolean) => boolean;
};
export declare type Registry = {
    stack: RegistryItem[];
    register: (item: RegistryItem) => void;
    unregister: (item: RegistryItem) => void;
    compact: () => boolean;
    uncompact: () => boolean;
    isCompact: (one: boolean) => boolean;
};
declare const RegistryContext: import("react").Context<Registry | undefined>;
export default RegistryContext;
export declare const createRegistry: () => Registry;
