import { box } from '@synnaxlabs/x';
import { ReactElement } from 'react';
import { CoreProps } from './Core';
/** Props for the {@link Single} component. */
export interface SingleProps extends Omit<CoreProps, "showHandle" | "size" | "onResize" | "onDragStart" | "ref"> {
    initialSize?: number;
    minSize?: number;
    maxSize?: number;
    onResize?: (size: number, box: box.Box) => void;
    collapseThreshold?: number;
    onCollapse?: () => void;
}
/**
 * A panel that can be resized in one direction by dragging its handle.
 *
 * @param props - The component props. All unused props will be passed to the div
 * containing the content.
 * @param props.location - The the location of the panel. The drag handle will be on the opposite side.
 * @param props.minSize - The smallest size the panel can be resized to.
 * @param props.maxSize - The largest size the panel can be resized to.
 * @param props.onResize - A callback executed when the panel is resized.
 */
export declare const Single: ({ onCollapse, onResize, location: location_, minSize, maxSize, initialSize, collapseThreshold, className, ...props }: SingleProps) => ReactElement;
//# sourceMappingURL=Single.d.ts.map