1 | import type { ProgressAnimation, SharedTransitionAnimationsValues } from '../animationBuilder/commonTypes';
|
2 | export declare class ProgressTransitionManager {
|
3 | private _sharedElementCount;
|
4 | private _eventHandler;
|
5 | addProgressAnimation(viewTag: number, progressAnimation: ProgressAnimation): void;
|
6 | removeProgressAnimation(viewTag: number, isUnmounting?: boolean): void;
|
7 | private registerEventHandlers;
|
8 | private unregisterEventHandlers;
|
9 | }
|
10 | declare function createProgressTransitionRegister(): {
|
11 | addProgressAnimation: (viewTag: number, progressAnimation: ProgressAnimation) => void;
|
12 | removeProgressAnimation: (viewTag: number, isUnmounting: boolean) => void;
|
13 | onTransitionStart: (viewTag: number, snapshot: Partial<SharedTransitionAnimationsValues>) => void;
|
14 | frame: (progress: number) => void;
|
15 | onAndroidFinishTransitioning: () => void;
|
16 | onTransitionEnd: (removeViews?: boolean) => void;
|
17 | };
|
18 | export type ProgressTransitionRegister = ReturnType<typeof createProgressTransitionRegister>;
|
19 | export {};
|
20 |
|
\ | No newline at end of file |