import { Key, ReactNode } from 'react';
import type { NotificationActionProps } from './types';
export interface NotificationDismissProviderProps {
    notificationId: Key;
    onDismiss: (id: Key, reason: 'action') => void;
    children: ReactNode;
}
export declare function NotificationDismissProvider({ notificationId, onDismiss, children, }: NotificationDismissProviderProps): import("react/jsx-runtime").JSX.Element;
export declare const DismissActionDetectedContext: import("react").Context<import("react").RefObject<boolean | undefined> | null>;
/**
 * Action button for use inside Notification components.
 * Wraps ItemAction with auto-dismiss behavior.
 *
 * - `closeOnPress` (default: true) — auto-dismisses the notification after `onPress`.
 * - An action with no `onPress` and `closeOnPress: true` acts as a dismiss-only action.
 * - `isDismiss` — marks this action as the dismiss button; when present, the default
 *   "Dismiss" button is auto-suppressed via context detection.
 * - Type (primary/secondary/etc.) is set automatically via ItemActionProvider context.
 */
export declare function NotificationAction({ children, onPress, closeOnPress, isDisabled, isDismiss, }: NotificationActionProps): import("react/jsx-runtime").JSX.Element;
