type AcceptNode = (node: HTMLElement) => typeof NodeFilter.FILTER_ACCEPT | typeof NodeFilter.FILTER_SKIP | typeof NodeFilter.FILTER_REJECT;
export declare function useTreeWalker({ container, accept, walk, enabled, }: {
    container: HTMLElement | null;
    accept: AcceptNode;
    walk(node: HTMLElement): void;
    enabled?: boolean;
}): void;
export {};
