import { type ReactElement } from "react";
import { type BarProps } from './Bar';
import { Resize } from '../resize';
export interface DrawerItem {
    key: string;
    content: ReactElement;
    minSize?: number;
    maxSize?: number;
    initialSize?: number;
}
export interface UseDrawerProps {
    initialKey?: string;
    items: DrawerItem[];
}
export interface UseDrawerReturn {
    activeItem?: DrawerItem;
    onSelect?: (key: string) => void;
}
export interface DrawerProps extends Omit<BarProps, "onSelect" | "onResize">, UseDrawerReturn, Partial<Pick<Resize.SingleProps, "onResize" | "collapseThreshold">> {
}
export declare const useDrawer: ({ items, initialKey }: UseDrawerProps) => UseDrawerReturn;
export declare const Drawer: import("react").FC<DrawerProps & {
    aetherKey?: string | undefined;
}>;
