license import { FocusOptions , FocusTrap } from '@material/dom/focus-trap' ; export type MDCDrawerFocusTrapFactory = ( element : HTMLElement , options : FocusOptions ) => FocusTrap ; export function createFocusTrapInstance ( surfaceEl , focusTrapFactory ) { return focusTrapFactory ( surfaceEl , { skipInitialFocus : true , } ) ; }