import React from 'react'; import { View } from 'react-native'; import type { SharedValue } from 'react-native-reanimated'; import type { TrueSheetProps, PositionChangeEventPayload } from '../TrueSheet.types'; interface TrueSheetState { shouldRenderNativeView: boolean; } interface MockReanimatedTrueSheetContextValue { animatedPosition: SharedValue; animatedIndex: SharedValue; animatedDetent: SharedValue; } /** * Mock ReanimatedTrueSheet component for testing. * Import from '@lodev09/react-native-true-sheet/reanimated/mock' in your test setup. */ export declare class ReanimatedTrueSheet extends React.Component { static instances: Record; static dismiss: jest.Mock, [_name: string, _animated?: boolean | undefined], any>; static dismissStack: jest.Mock, [_name: string, _animated?: boolean | undefined], any>; static present: jest.Mock, [_name: string, _index?: number | undefined, _animated?: boolean | undefined], any>; static resize: jest.Mock, [_name: string, _index: number], any>; dismiss: jest.Mock, [_animated?: boolean | undefined], any>; dismissStack: jest.Mock, [_animated?: boolean | undefined], any>; present: jest.Mock, [_index?: number | undefined, _animated?: boolean | undefined], any>; resize: jest.Mock, [_index: number], any>; componentDidMount(): void; componentWillUnmount(): void; private renderHeader; private renderFooter; render(): React.CElement; } /** * Mock ReanimatedTrueSheetProvider for testing. */ export declare function ReanimatedTrueSheetProvider({ children }: { children: React.ReactNode; }): React.ReactNode; /** * Mock useReanimatedTrueSheet hook for testing. */ export declare const useReanimatedTrueSheet: jest.Mock; /** * Mock useReanimatedPositionChangeHandler hook for testing. */ export declare const useReanimatedPositionChangeHandler: jest.Mock, [_handler: (payload: PositionChangeEventPayload) => void, _dependencies?: unknown[] | undefined], any>; export {}; //# sourceMappingURL=reanimated.d.ts.map