import * as React from 'react'; import { ModalState } from '../ModalContext'; export declare const FlyoutTrigger: React.SFC<{ id: string; /** Whether to show a clickable semi-opaque Cover behind the flyout */ showCover?: boolean; /** Whether to prevent the body from scrolling when flyout is open */ preventOverflow?: boolean; /** Whether to able to close modal via Escape button */ canCloseOnEsc?: boolean; coverStyles?: {}; children: (args: Pick & { showTarget: () => void; }) => React.ReactNode; }>;