import type { ServiceConfig, ServiceInterface } from './AbstractService.js'; import { AbstractService } from './AbstractService.js'; import type { Features } from '../Base/features.js'; export interface ResizeServiceProps { width: number; height: number; ratio: number; orientation: 'square' | 'landscape' | 'portrait'; breakpoint: keyof U; breakpoints: Array; activeBreakpoints: Record; } export type ResizeServiceInterface = ServiceInterface>; export declare class ResizeService extends AbstractService> { static config: ServiceConfig; breakpoints: T; props: ResizeServiceProps; constructor(breakpoints: T); /** * Update props. */ updateProps(): ResizeServiceProps; onResizeDebounce: (...args: unknown[]) => void; handleEvent(): void; } /** * Use the resize service. * @link https://js-toolkit.studiometa.dev/api/services/useResize.html */ export declare function useResize(breakpoints?: T): ResizeServiceInterface;