export declare const transitionTime = 300;
export interface DialogProps {
    open: boolean;
    id?: 'connect-wallet' | 'submission' | 'error-message' | 'select-chain' | 'select-token' | 'swap-summary' | 'swap-settings' | 'cross-chain-summary' | 'select-cross-chain' | 'pool-operate';
    onClose?: () => void;
    afterClose?: () => void;
    scope?: boolean;
    title?: string | React.ReactNode;
    rightSlot?: React.ReactNode;
    canBack?: boolean;
    children: React.ReactNode;
    height?: number | string;
    testId?: string;
}
export default function Dialog({ scope, modal, ...props }: DialogProps & {
    modal?: boolean;
}): JSX.Element;
