import { Ref } from 'react';
import { default as StyleObserver } from 'style-observer';
type Record<T extends string> = Parameters<ConstructorParameters<typeof StyleObserver>[0]>[0][0] & {
    property: T;
};
export declare function useStyleObserver<T extends string>(properties: T[], onChange: (records: Record<T>[]) => void, deps: unknown[], options?: {
    ref?: Ref<HTMLElement>;
    immediate?: boolean;
    disabled?: boolean;
}): import('react').RefCallback<HTMLElement>;
export {};
//# sourceMappingURL=useStyleObserver.d.ts.map