import type { TestContext } from './setup-context'; export interface TeardownContextOptions { waitForSettled?: boolean | undefined; } /** Used by test framework addons to tear down the provided context after testing is completed. Responsible for: - un-setting the "global testing context" (`unsetContext`) - destroy the contexts owner object - remove AJAX listeners @public @param {Object} context the context to setup @param {Object} [options] options used to override defaults @param {boolean} [options.waitForSettled=true] should the teardown wait for `settled()`ness @returns {Promise} resolves when settled */ export default function teardownContext(context: TestContext, { waitForSettled }?: TeardownContextOptions): Promise; //# sourceMappingURL=teardown-context.d.ts.map