import { Q as QuerySelectorReturn, N as NodeLike, D as Detector, a as DefaultResult } from './shared/wait-element.CPvtCSkL.js'; interface Options { /** * @type HTMLElement * @default document * @description Specify a parent node (specify MutationObserve target). * When you know the parent node of the element you want to detect. * * * Please also refer to the [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) */ target: NodeLike; /** * @type boolean * @default true * @description Unifies the process of finding an element. If set `true`, increases efficiency. Unify the same arguments(includes options) with each other. */ unifyProcess: boolean; /** * @type MutationObserverInit * @default * { childList: true, subtree: true, attributes: true, } * @description * [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) */ observeConfigs: MutationObserverInit; /** * @type function * @default isExist * @description Can define functions for resolve conditions. */ detector: Detector; /** * @type AbortSignal * @default undefined * @description * https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ signal: undefined | AbortSignal; /** * @type function * @param selector string * @description Use a matcher other than querySelector */ customMatcher: ((selector: string) => QuerySelectorResult) | undefined; } type UserSideOptions = Partial>; type InstanceOptions = { defaultOptions: Options; }; type DefaultOptions = Options; declare const getDefaultOptions: () => DefaultOptions; declare function createWaitElement(instanceOptions: InstanceOptions): (selector: string, options?: UserSideOptions) => Promise; declare const waitElement: (selector: string, options?: Partial> | undefined) => Promise; export { createWaitElement, getDefaultOptions, waitElement };