import { type ReactNode } from "react"; import { View, type StyleProp, type ViewStyle } from "react-native"; /** The props of Entrance, the readiness hold an anchored card's owner applies to it. */ export interface EntranceProps { /** * Whether the owner is ready to show the card (AnchoredOverlay: its placement is * measured). Defaults to true, a pass-through. While false, or while an enclosing * Entrance holds, the card is held: invisible, untouchable, hidden from VoiceOver, * TalkBack and the web's accessibility tree, and its descendants read their readiness * as false, so focus waits. Its controls stay mounted, and on the web in the Tab * order, so keep a hold to the frame or two a placement takes. It stays held for as * long as this stays false, so the owner must release it. True shows it in place, * with no motion. */ ready?: boolean; /** * The wrapper's layout and position only (an anchored card's absolute left, top and * cap): never a restyle, since the card inside paints itself. Typed as a full ViewStyle * because the kit's owners pass position keys LayoutStyle omits. */ style?: StyleProp; /** * Natively, VoiceOver ignores the views beside this one while it is set: the topmost * modal card in an overlay outlet, over the cards opened before it. Dropped on the web. */ accessibilityViewIsModal?: boolean; /** * Natively, hidden from VoiceOver and TalkBack while set, and still visible and * touchable: a card covered by a modal card opened from it. Dropped on the web. */ obscured?: boolean; /** The card the hold shows or hides. */ children: ReactNode; } /** * The readiness hold for an anchored card: renders `children` in one View that is * invisible, untouchable and hidden from assistive technology until `ready` (and every * enclosing Entrance's readiness, across a portal too) is true, then shows it in place * with no motion. While held the card still lays out and reports its size, and its * controls stay mounted; its owner moves focus in only at release. Kit internals, behind * every anchored card (Popover, Dropdown, Select, Autocomplete and the rest). */ export declare const Entrance: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=entrance.d.ts.map