import * as React from 'react';

type PanelProps = {
    header?: React.ReactNode;
    footer?: React.ReactNode;
    testAutomationId?: string;
    closable?: boolean;
    noPadding?: boolean;
    noHeaderPadding?: boolean;
    noBorder?: boolean;
    noLeftBorder?: boolean;
    noRightBorder?: boolean;
    cancelMinHeight?: boolean;
    smallHeaderPadding?: boolean;
    addHeaderBorder?: boolean;
    noHeaderBorder?: boolean;
    onClose?: Function;
    flexContent?: boolean;
    isTransparent?: boolean;
    closeLabel?: string
} & Partial<PanelDefaultProps> & React.HTMLProps<Panel>;

type PanelDefaultProps = {
    testAutomationId: string;
    closable: boolean;
    noPadding: boolean;
    noHeaderPadding: boolean;
    noBorder: boolean;
    noLeftBorder: boolean;
    noRightBorder: boolean;
    cancelMinHeight: boolean;
    smallHeaderPadding: boolean;
    addHeaderBorder: boolean;
    noHeaderBorder: boolean;
    flexContent: boolean;
    isTransparent: boolean;
    closeLabel: string | null;
}

export class Panel extends React.Component<PanelProps> { }