/** @jsxImportSource react */ import { Instance } from "../ui/Instance"; import { NumberProp } from "../ui/Prop"; import { RenderingContext } from "../ui/RenderingContext"; import { Widget, WidgetConfig, WidgetStyleConfig } from "../ui/Widget"; export interface ResizerConfig extends WidgetConfig, WidgetStyleConfig { /** Make resizer horizontal. */ horizontal?: boolean; /** Use the element after the the resizer for size measurements. */ forNextElement?: boolean; /** A binding for the new size. */ size?: NumberProp; /** Default value that will be set when the user double click on the resizer. */ defaultSize?: NumberProp; /** Minimum size of the element. */ minSize?: NumberProp; /** Maximum size of the element. */ maxSize?: NumberProp; } export declare class Resizer extends Widget { baseClass: string; horizontal?: boolean; forNextElement?: boolean; defaultSize?: NumberProp | null; minSize?: NumberProp; maxSize?: NumberProp; constructor(config?: ResizerConfig); declareData(...args: Record[]): void; render(context: RenderingContext, instance: Instance, key: string): React.ReactNode; } //# sourceMappingURL=Resizer.d.ts.map