import type { HostInstance, TextLayoutEvent } from 'react-native'; export type TextLayoutLine = TextLayoutEvent['nativeEvent']['lines'][number]; export interface ShimmerShape { x: number; y: number; width: number; height: number; radius: number; } export interface SkeletonShapeRegistry { reportText: (key: string, node: HostInstance, lines: readonly TextLayoutLine[]) => void; remove: (key: string) => void; } export declare const SkeletonShapeContext: import("react").Context; export declare function useSkeletonTextLayout(onTextLayout?: (event: TextLayoutEvent) => unknown): ((event: TextLayoutEvent) => unknown) | undefined; export declare function lineShapes(lines: readonly TextLayoutLine[], left: number, top: number, radius: number): ShimmerShape[]; export declare function sameShapes(a: readonly ShimmerShape[] | undefined, b: readonly ShimmerShape[]): boolean; //# sourceMappingURL=SkeletonShapes.d.ts.map