import IBrowserContext from './IBrowserContext.cjs';
import IBrowserPage from './IBrowserPage.cjs';
import IBrowserSettings from './IBrowserSettings.cjs';
import * as PropertySymbol from '../../PropertySymbol.cjs';
import BrowserExceptionObserver from '../utilities/BrowserExceptionObserver.cjs';
/**
 * Browser.
 *
 * Much of the interface for the browser has been taken from Puppeteer and Playwright, so that the API is familiar.
 */
export default interface IBrowser {
    readonly defaultContext: IBrowserContext;
    readonly contexts: IBrowserContext[];
    readonly settings: IBrowserSettings;
    readonly console: Console | null;
    readonly [PropertySymbol.exceptionObserver]: BrowserExceptionObserver | null;
    /**
     * Aborts all ongoing operations and destroys the browser.
     */
    close(): void;
    /**
     * Returns a promise that is resolved when all resources has been loaded, fetch has completed, and all async tasks such as timers are complete.
     *
     * @returns Promise.
     */
    waitUntilComplete(): Promise<void>;
    /**
     * Aborts all ongoing operations.
     */
    abort(): void;
    /**
     * Creates a new incognito context.
     *
     * @returns Context.
     */
    newIncognitoContext(): IBrowserContext;
    /**
     * Creates a new page.
     *
     * @returns Page.
     */
    newPage(): IBrowserPage;
}
//# sourceMappingURL=IBrowser.d.ts.map