import type { GetProps, ViewProps, TamaguiComponent, TamaguiComponentExpectingVariants } from '@tamagui/core'; import type { ForwardRefExoticComponent, FunctionComponent, RefAttributes } from 'react'; import type { View as RNView } from 'react-native'; import type { SheetProps, SheetScopedProps } from './types'; type SharedSheetProps = { open?: boolean; }; type BaseProps = ViewProps & SharedSheetProps; type SheetStyledComponent = TamaguiComponentExpectingVariants; export declare function createSheet({ Handle, Frame, Overlay }: { Handle: H; Frame: F; Overlay: O; }): ForwardRefExoticComponent<{ open?: boolean; defaultOpen?: boolean; onOpenChange?: import("react").Dispatch> | ((open: boolean) => void); position?: number; defaultPosition?: number; snapPoints?: (string | number)[]; snapPointsMode?: import("./types").SnapPointsMode; onPositionChange?: import("./types").PositionChangeHandler; children?: import("react").ReactNode; dismissOnOverlayPress?: boolean; dismissOnSnapToBottom?: boolean; disableRemoveScroll?: boolean; forceRemoveScrollEnabled?: boolean; transitionConfig?: import("@tamagui/core").AnimatedNumberStrategy; preferAdaptParentOpenState?: boolean; unmountChildrenWhenHidden?: boolean; native?: "ios"[] | boolean; transition?: import("@tamagui/core").TransitionProp; handleDisableScroll?: boolean; disableDrag?: boolean; modal?: boolean; zIndex?: number; portalProps?: import("@tamagui/portal").PortalProps; moveOnKeyboardChange?: boolean; containerComponent?: React.ComponentType; onAnimationComplete?: (info: { open: boolean; }) => void; } & { __scopeSheet?: import("@tamagui/create-context").Scope; } & RefAttributes> & { Controlled: FunctionComponent & RefAttributes> & { Frame: ForwardRefExoticComponent, keyof { /** * By default the sheet adds a view below its bottom that extends down another 50%, * this is useful if your Sheet has a spring animation that bounces "past" the top when * opening, preventing it from showing the content underneath. */ disableHideBottomOverflow?: boolean; /** * Adds padding accounting for the currently offscreen content, so if you put a flex element inside * the sheet, it will always flex to the height of the visible amount of the sheet. If this is not * turned on, the inner content is always set to the max height of the sheet. */ adjustPaddingForOffscreenContent?: boolean; }> & { /** * By default the sheet adds a view below its bottom that extends down another 50%, * this is useful if your Sheet has a spring animation that bounces "past" the top when * opening, preventing it from showing the content underneath. */ disableHideBottomOverflow?: boolean; /** * Adds padding accounting for the currently offscreen content, so if you put a flex element inside * the sheet, it will always flex to the height of the visible amount of the sheet. If this is not * turned on, the inner content is always set to the max height of the sheet. */ adjustPaddingForOffscreenContent?: boolean; }>>; Overlay: TamaguiComponent & { __scopeSheet?: import("@tamagui/create-context").Scope; }, any, any, any, SharedSheetProps, {}> | TamaguiComponent & { __scopeSheet?: import("@tamagui/create-context").Scope; }, any, { __scopeSheet?: import("@tamagui/create-context").Scope; }, {}, {}, {}>; Handle: TamaguiComponent | TamaguiComponent; ScrollView: ForwardRefExoticComponent & import("@tamagui/core").WithThemeValues> | undefined; }> & { fullscreen?: boolean | undefined; } & import("@tamagui/core").WithShorthands> | undefined; }>> & import("@tamagui/core").WithPseudoProps> | undefined; }> & { fullscreen?: boolean | undefined; } & import("@tamagui/core").WithShorthands> | undefined; }>>> & import("@tamagui/core").WithMediaProps> | undefined; }, { fullscreen?: boolean | undefined; }>> & RefAttributes>; }; Frame: ForwardRefExoticComponent, keyof { /** * By default the sheet adds a view below its bottom that extends down another 50%, * this is useful if your Sheet has a spring animation that bounces "past" the top when * opening, preventing it from showing the content underneath. */ disableHideBottomOverflow?: boolean; /** * Adds padding accounting for the currently offscreen content, so if you put a flex element inside * the sheet, it will always flex to the height of the visible amount of the sheet. If this is not * turned on, the inner content is always set to the max height of the sheet. */ adjustPaddingForOffscreenContent?: boolean; }> & { /** * By default the sheet adds a view below its bottom that extends down another 50%, * this is useful if your Sheet has a spring animation that bounces "past" the top when * opening, preventing it from showing the content underneath. */ disableHideBottomOverflow?: boolean; /** * Adds padding accounting for the currently offscreen content, so if you put a flex element inside * the sheet, it will always flex to the height of the visible amount of the sheet. If this is not * turned on, the inner content is always set to the max height of the sheet. */ adjustPaddingForOffscreenContent?: boolean; }>>; Overlay: TamaguiComponent & { __scopeSheet?: import("@tamagui/create-context").Scope; }, any, any, any, SharedSheetProps, {}> | TamaguiComponent & { __scopeSheet?: import("@tamagui/create-context").Scope; }, any, { __scopeSheet?: import("@tamagui/create-context").Scope; }, {}, {}, {}>; Handle: TamaguiComponent | TamaguiComponent; ScrollView: ForwardRefExoticComponent & import("@tamagui/core").WithThemeValues> | undefined; }> & { fullscreen?: boolean | undefined; } & import("@tamagui/core").WithShorthands> | undefined; }>> & import("@tamagui/core").WithPseudoProps> | undefined; }> & { fullscreen?: boolean | undefined; } & import("@tamagui/core").WithShorthands> | undefined; }>>> & import("@tamagui/core").WithMediaProps> | undefined; }, { fullscreen?: boolean | undefined; }>> & RefAttributes>; }; export {}; //# sourceMappingURL=createSheet.d.ts.map