import type { SugarElement } from '@ephox/sugar'; import type { NamedConfiguredBehaviour } from '../api/behaviour/Behaviour'; import type { AlloyComponent } from '../api/component/ComponentApi'; import type { ReceivingChannelSpec, ReceivingConfig, ReceivingConfigSpec } from '../behaviour/receiving/ReceivingTypes'; export interface DismissalReceivingSpec { isExtraPart?: (sandbox: AlloyComponent, target: SugarElement) => boolean; fireEventInstead?: { event?: string; }; } declare const receivingConfig: (rawSpec: DismissalReceivingSpec) => NamedConfiguredBehaviour; declare const receivingChannel: (rawSpec: DismissalReceivingSpec) => Record; export { receivingChannel, receivingConfig }; //# sourceMappingURL=Dismissal.d.ts.map