/** * What the content of a `Modal` tells the modal around it. The `.modal-footer` is a sibling of the body the content renders * in, and the host of both is often a page that must not render again for it. * * @internal */ export interface ModalChannel { /** `Modal` renders `modal-content--footer-hidden`; an app says what that means. */ footerHidden: boolean; } /** * The provide/inject key of {@link ModalChannel}. * * @internal */ export const MODAL_CHANNEL_KEY = 'pd-modal-channel';