import { SharedRef } from 'expo';
import { type PropsWithChildren } from 'react';
import { type ViewProps, type ColorValue } from 'react-native';
import type { BasicTextStyle } from '../../utils/font';
export interface NativeLinkPreviewActionProps {
    identifier: string;
    title: string;
    label?: string;
    icon?: string;
    xcassetName?: string;
    image?: InstanceType<SharedRef<'image'>> | null;
    imageRenderingMode?: 'template' | 'original';
    children?: React.ReactNode;
    disabled?: boolean;
    destructive?: boolean;
    discoverabilityLabel?: string;
    subtitle?: string;
    accessibilityLabel?: string;
    accessibilityHint?: string;
    displayAsPalette?: boolean;
    displayInline?: boolean;
    preferredElementSize?: 'auto' | 'small' | 'medium' | 'large';
    isOn?: boolean;
    keepPresented?: boolean;
    hidden?: boolean;
    tintColor?: ColorValue;
    barButtonItemStyle?: 'plain' | 'prominent';
    sharesBackground?: boolean;
    hidesSharedBackground?: boolean;
    onSelected: () => void;
    titleStyle?: BasicTextStyle;
}
export declare function NativeLinkPreviewAction(props: NativeLinkPreviewActionProps): import("react").JSX.Element | null;
export interface PreviewActivationRoute {
    key: string;
}
export interface NativeLinkPreviewProps extends ViewProps {
    previewActivationPath: {
        path: PreviewActivationRoute[];
    } | undefined;
    disableForceFlatten?: boolean;
    onWillPreviewOpen?: () => void;
    onDidPreviewOpen?: () => void;
    onPreviewWillClose?: () => void;
    onPreviewDidClose?: () => void;
    onPreviewTapped?: (event: {
        nativeEvent: {
            screenId?: string;
        };
    }) => void;
    onPreviewTappedAnimationCompleted?: () => void;
    children: React.ReactNode;
}
export declare function NativeLinkPreview(props: NativeLinkPreviewProps): import("react").JSX.Element | null;
export interface NativeLinkPreviewContentProps extends ViewProps {
    preferredContentSize?: {
        width: number;
        height: number;
    };
}
export declare function NativeLinkPreviewContent(props: NativeLinkPreviewContentProps): import("react").JSX.Element | null;
interface DismissalBoundsRect {
    minX?: number;
    maxX?: number;
    minY?: number;
    maxY?: number;
}
export declare function LinkZoomTransitionEnabler(props: {
    zoomTransitionSourceIdentifier: string;
    dismissalBoundsRect?: DismissalBoundsRect | null;
}): import("react").JSX.Element | null;
interface LinkSourceAlignmentRect {
    x: number;
    y: number;
    width: number;
    height: number;
}
interface LinkZoomTransitionSourceProps extends PropsWithChildren {
    identifier: string;
    alignment?: LinkSourceAlignmentRect;
    animateAspectRatioChange?: boolean;
}
export declare function LinkZoomTransitionSource(props: LinkZoomTransitionSourceProps): import("react").JSX.Element | null;
export declare function LinkZoomTransitionAlignmentRectDetector(props: {
    identifier: string;
    children: React.ReactNode;
}): import("react").JSX.Element | null;
export {};
