import { ReactElement, ReactNode, Ref } from 'react'; import { WidgetSettingsProps } from './WidgetSettingsModal'; interface Props { id: string; title: string; canSettingsSave?: boolean; noPadding?: boolean; bodyClassName?: string; settings?: ReactNode | ((settingsProps: WidgetSettingsProps) => ReactNode); children?: ReactNode; after?: ReactNode; bodyRef?: Ref; shouldCheckAccount?: boolean; onSettingsCancel?: () => void; onSettingsSave?: () => void; } declare const Widget: ({ id, title, canSettingsSave, noPadding, bodyClassName, settings, children, after, bodyRef, shouldCheckAccount, onSettingsCancel, onSettingsSave, }: Props) => ReactElement; export default Widget; //# sourceMappingURL=index.d.ts.map