import { Emphasis, Sentiment } from '../../SentimentSurface'; import { type IconButtonProps } from '../../IconButton'; import { HTMLAttributes, ReactNode } from 'react'; export type PrimitivePromptProps = HTMLAttributes & { /** * The sentiment determines the colour scheme. * @default success */ sentiment?: Sentiment; /** * The emphasis level affecting background and text contrast. * @default 'base' */ emphasis?: Emphasis; /** * Media to be displayed on the prompt (icon/image/etc). */ media: ReactNode; /** * Any actions to be displayed on the prompt. */ actions?: ReactNode; /** * Handler called when the close button is clicked. If not provided, then the close button is hidden. */ onDismiss?: () => void; /** * The priority of the dismiss IconButton. * @default 'secondary' */ dismissButtonPriority?: IconButtonProps['priority']; /** * Test ID for testing tools */ 'data-testid'?: string; }; /** * PrimitivePrompt is a low-level component that provides the structure, sentiment support and styling for various prompts. * Uses several css variables to handle styling from within the consuming component, e.g. --Prompt-padding-x. */ export declare const PrimitivePrompt: import("react").ForwardRefExoticComponent & { /** * The sentiment determines the colour scheme. * @default success */ sentiment?: Sentiment; /** * The emphasis level affecting background and text contrast. * @default 'base' */ emphasis?: Emphasis; /** * Media to be displayed on the prompt (icon/image/etc). */ media: ReactNode; /** * Any actions to be displayed on the prompt. */ actions?: ReactNode; /** * Handler called when the close button is clicked. If not provided, then the close button is hidden. */ onDismiss?: () => void; /** * The priority of the dismiss IconButton. * @default 'secondary' */ dismissButtonPriority?: IconButtonProps["priority"]; /** * Test ID for testing tools */ 'data-testid'?: string; } & import("react").RefAttributes>; //# sourceMappingURL=PrimitivePrompt.d.ts.map