import React from "react"; import type { DialogProps as NextDialogProps, DialogHandle, ContentPaddingInterface, Size } from "./__internal__/__next__/dialog.component"; import type { DialogSizes } from "./dialog.config"; export interface DialogProps extends Omit { /** @deprecated Use `size="fullscreen"` instead. */ fullscreen?: boolean; /** @deprecated Use `gradientKeyLine` instead. */ highlightVariant?: string; /** @deprecated Use `contentPadding` instead. */ disableContentPadding?: boolean; /** @deprecated */ disableClose?: boolean; /** @deprecated */ pagesStyling?: boolean; /** * Size — accepts both legacy values (extra-small, medium-small, etc.) * and new values (small, medium, large, fullscreen). */ size?: DialogSizes | Size; } export declare const Dialog: React.ForwardRefExoticComponent>; export default Dialog; export type { DialogHandle, ContentPaddingInterface };