import { AriaRole } from 'react';
import type { DrawerLayoutContentTheme, OtherHTMLAttributes } from '@instructure/shared-types';
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
type DrawerContentSize = {
width: number;
height?: number;
};
type DrawerLayoutContentOwnProps = {
label: string;
children?: React.ReactNode;
contentRef?: (element: HTMLDivElement | null) => void;
/**
* Callback fired whenever the `` changes size
*/
onSizeChange?: (contentSize: DrawerContentSize) => void;
role?: AriaRole;
};
type DrawerLayoutContentStyleProps = {
shouldTransition: boolean;
};
type PropKeys = keyof DrawerLayoutContentOwnProps;
type AllowedPropKeys = Readonly>;
type DrawerLayoutContentProps = DrawerLayoutContentOwnProps & WithStyleProps & OtherHTMLAttributes;
type DrawerLayoutContentStyle = ComponentStyle<'drawerContent'>;
declare const allowedProps: AllowedPropKeys;
export type { DrawerLayoutContentProps, DrawerLayoutContentStyleProps, DrawerLayoutContentStyle, DrawerContentSize };
export { allowedProps };
//# sourceMappingURL=props.d.ts.map