import type { Screen } from '../Screen.js';
import { AbstractLegend, type Props as LegendProps, type ComputedItem } from './AbstractLegend.js';
import { Size } from '../geometry.js';
interface Props extends LegendProps {
}
/**
 * A Legend that automatically shows keyboard shortcuts based on:
 * - The currently focused view's `legendItems()` method
 * - Registered HotKey components that have a `label` prop
 *
 * Subscribes to focusChange events on the screen and updates when focus changes.
 */
export declare class AutoLegend extends AbstractLegend {
    #private;
    constructor(props?: Props);
    didMount(screen: Screen): void;
    didUnmount(screen: Screen): void;
    collectItems(): ComputedItem[];
    naturalSize(available: Size): Size;
}
export {};
