import { type ReactNode } from "react"; import { type StyleProp, type ViewStyle } from "react-native"; interface Size { width: number; height: number; } /** * The progress=0 translation that pins a corner-anchored surface's top-left corner in * place while it scales up from `startScale` about its own center. React Native scales * about the center, so the top-left corner would otherwise drift by (w/2, h/2)*(1-scale); * translating by the negative pins it, making the surface grow out of the trigger corner. * The relationship is linear in progress, so the pin holds exactly through spring overshoot * (scale > 1). Exported for unit tests. */ export declare function entranceTranslation(size: Size, startScale: number): { x: number; y: number; }; export interface EntranceProps { /** * Anchored mode: the surface scales up from the trigger's corner (its top-left is * pinned). Omit for a dialog-style symmetric scale-fade about the center. */ anchor?: boolean; /** Layout/position for the wrapper (a menu's absolute left/top; a dialog's width caps). */ style?: StyleProp; children: ReactNode; } export declare function Entrance({ anchor, style, children }: EntranceProps): import("react").JSX.Element; export {}; //# sourceMappingURL=entrance.d.ts.map