mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 19:01:53 +02:00
9 lines
365 B
TypeScript
9 lines
365 B
TypeScript
|
declare 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 {};
|