/** * Coordinates the animations that make up one base drawer transition. It owns * handler cleanup and guarantees that every interrupted transition settles. */ export default class SlidingContainerTransition { finish: () => void; /** * Immediately settles the active transition, if any. */ finishImmediately(): void; /** * Runs a group of animations as one transition. * @param {object} options Complete definition of the coordinated animation group. * @param {Animation} options.primary Animation whose finish settles the group. * @param {Animation[]} options.animations All animations owned by the group. * @param {() => void} options.cleanup Additional owned-resource cleanup. * @param {() => void} options.settle Applies the final component state. * @returns {Promise} Resolves exactly once after settling. */ run({ primary, animations, cleanup, settle }: { primary: Animation; animations: Animation[]; cleanup: () => void; settle: () => void; }): Promise; /** * Drops the active callback after its resources were cleaned elsewhere. */ reset(): void; }