import React from 'react';
import type { DrawerProps } from 'antd';
import './index.less';
declare type FloatingMode = 'drawer' | 'modal';
declare type DrawerPlacement = NonNullable<DrawerProps['placement']>;
declare type FloatingPlacement = DrawerPlacement | 'center';
declare type FloatingClassNames = NonNullable<DrawerProps['classNames']> & {
    close?: string;
    extra?: string;
    root?: string;
    title?: string;
    wrapper?: string;
};
declare type FloatingStyles = NonNullable<DrawerProps['styles']> & {
    root?: React.CSSProperties;
    wrapper?: React.CSSProperties;
};
export interface TransformFloatingLayerProps extends Omit<DrawerProps, 'placement'> {
    cancelButtonProps?: Record<string, any>;
    cancelText?: React.ReactNode;
    centered?: boolean;
    classNames?: FloatingClassNames;
    confirmLoading?: boolean;
    destroyOnClose?: boolean;
    header?: React.ReactNode | false;
    mode?: FloatingMode;
    modalRender?: (node: React.ReactNode) => React.ReactNode;
    okButtonProps?: Record<string, any>;
    okText?: React.ReactNode;
    onCancel?: (event: React.MouseEvent | KeyboardEvent) => void;
    onOk?: (event: React.MouseEvent<HTMLElement>) => void;
    placement?: FloatingPlacement;
    styles?: FloatingStyles;
    visible?: boolean;
    wrapClassName?: string;
}
declare const TransformFloatingLayer: React.FC<TransformFloatingLayerProps>;
export default TransformFloatingLayer;
