import type { Point, Rect, Size } from '@interactjs/core/types'; import type { ModifierArg, ModifierState } from '../types'; import type { RestrictEdgesState } from './edges'; import type { RestrictOptions } from './pointer'; export interface RestrictSizeOptions { min?: Size | Point | RestrictOptions['restriction']; max?: Size | Point | RestrictOptions['restriction']; endOnly: boolean; enabled?: boolean; } declare function start(arg: ModifierArg): void; export type RestrictSizeState = RestrictEdgesState & ModifierState; declare function set(arg: ModifierArg): void; declare const restrictSize: { start: typeof start; set: typeof set; defaults: RestrictSizeOptions; }; declare const _default: { (_options?: Partial): import("../types").Modifier; _defaults: RestrictSizeOptions; _methods: { start: (arg: ModifierArg) => void; set: (arg: ModifierArg) => void; beforeEnd: (arg: ModifierArg) => void | Point; stop: (arg: ModifierArg) => void; }; }; export default _default; export { restrictSize };