import * as React from 'react'; import { Pressable } from 'react-native'; import type { ToastRootState } from '../root/ToastRoot'; import type { ZestUIComponentProps } from '../../types'; /** * Closes the toast. * Renders a ``. */ export declare function ToastClose(componentProps: ToastClose.Props): React.ReactElement>; export interface ToastCloseState extends ToastRootState { /** * Whether the component should ignore user interaction. */ disabled: boolean; /** * Whether the button is currently pressed. */ pressed: boolean; } export interface ToastCloseProps extends ZestUIComponentProps { /** * Whether the component should ignore user interaction. * @default false */ disabled?: boolean | undefined; } export declare namespace ToastClose { type State = ToastCloseState; type Props = ToastCloseProps; } //# sourceMappingURL=ToastClose.d.ts.map