import type { SharedValue } from "react-native-reanimated"; import type { BaseRecorder, JsiRecorder, Skia } from "../../skia/types"; import type { PaintProps, NodeType, BlurMaskFilterProps, CTMProps, BoxProps, BoxShadowProps, ImageProps, CircleProps, PointsProps, PathProps, RectProps, RoundedRectProps, OvalProps, LineProps, PatchProps, VerticesProps, DiffRectProps, TextProps, TextPathProps, TextBlobProps, GlyphsProps, PictureProps, ImageSVGProps, ParagraphProps, AtlasProps, SkottieProps, DrawingNodeProps } from "../../dom/types"; import type { AnimatedProps } from "../../renderer"; /** * Currently the recorder only work if the GPU resources (e.g Images) are owned by the main thread. * It will crash otherwise on Ganesh (iOS/Android). */ export declare class ReanimatedRecorder implements BaseRecorder { private values; private recorder; constructor(Skia: Skia); reset(): void; private processAnimationValues; getRecorder(): JsiRecorder; getSharedValues(): SharedValue[]; saveGroup(props?: AnimatedProps>): void; restoreGroup(): void; savePaint(props: AnimatedProps, standalone: boolean): void; restorePaint(): void; restorePaintDeclaration(): void; materializePaint(): void; pushPathEffect(pathEffectType: NodeType, props: AnimatedProps): void; pushImageFilter(imageFilterType: NodeType, props: AnimatedProps): void; pushColorFilter(colorFilterType: NodeType, props: AnimatedProps): void; pushShader(shaderType: NodeType, props: AnimatedProps, children: number): void; pushBlurMaskFilter(props: AnimatedProps): void; composePathEffect(): void; composeColorFilter(): void; composeImageFilter(): void; saveCTM(props: AnimatedProps): void; restoreCTM(): void; drawPaint(): void; saveLayer(): void; saveBackdropFilter(): void; drawBox(boxProps: AnimatedProps, shadows: { props: BoxShadowProps; }[]): void; drawImage(props: AnimatedProps): void; drawCircle(props: AnimatedProps): void; drawPoints(props: AnimatedProps): void; drawPath(props: AnimatedProps): void; drawRect(props: AnimatedProps): void; drawRRect(props: AnimatedProps): void; drawOval(props: AnimatedProps): void; drawLine(props: AnimatedProps): void; drawPatch(props: AnimatedProps): void; drawVertices(props: AnimatedProps): void; drawDiffRect(props: AnimatedProps): void; drawText(props: AnimatedProps): void; drawTextPath(props: AnimatedProps): void; drawTextBlob(props: AnimatedProps): void; drawGlyphs(props: AnimatedProps): void; drawPicture(props: AnimatedProps): void; drawImageSVG(props: AnimatedProps): void; drawParagraph(props: AnimatedProps): void; drawAtlas(props: AnimatedProps): void; drawSkottie(props: AnimatedProps): void; }