import { LocatorSelectors, Locator } from './context'
import { StringifyOptions } from 'vitest/internal/browser'

export type PrettyDOMOptions = Omit<StringifyOptions, 'maxLength'>

/** @deprecated use `import('vitest/browser').utils.getElementLocatorSelectors` instead */
export declare function getElementLocatorSelectors(element: Element): LocatorSelectors
/** @deprecated use `import('vitest/browser').utils.debug` instead */
export declare function debug(
  el?: Element | Locator | null | (Element | Locator)[],
  maxLength?: number,
  options?: PrettyDOMOptions,
): void
/** @deprecated use `import('vitest/browser').utils.prettyDOM` instead */
export declare function prettyDOM(
  dom?: Element | Locator | undefined | null,
  maxLength?: number,
  prettyFormatOptions?: PrettyDOMOptions,
): string
/** @deprecated use `import('vitest/browser').utils.getElementError` instead */
export declare function getElementError(selector: string, container?: Element): Error
