import type { GenieRect, GenieSnapshot, GenieSnapshotCaptureOptions } from './types'; interface InlineStyleSnapshot { priority: string; value: string; } export declare function rectFromDomRect(rect: Pick): GenieRect; export declare function isRenderableRect(rect: GenieRect): boolean; export declare function areGenieRectsEqual(previous: GenieRect, next: GenieRect): boolean; export declare function isSnapshotSizeCompatible(snapshot: GenieSnapshot, rect: GenieRect): boolean; export declare function readGenieScrollStateKey(node: HTMLElement): string; export declare function captureGenieSnapshot(node: HTMLElement, options?: GenieSnapshotCaptureOptions): Promise; export declare function createFallbackGenieSnapshot(node: HTMLElement): GenieSnapshot | null; export declare function createGenieSnapshotUrl(canvas: HTMLCanvasElement): Promise; export declare function revokeGenieSnapshotUrl(url: string): void; export declare function readInlineStyle(style: CSSStyleDeclaration, property: string): InlineStyleSnapshot; export declare function restoreInlineStyle(style: CSSStyleDeclaration, property: string, snapshot: InlineStyleSnapshot): void; export {};