diff options
Diffstat (limited to 'node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts')
| -rw-r--r-- | node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts b/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts new file mode 100644 index 00000000..6555ef2d --- /dev/null +++ b/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts @@ -0,0 +1,9 @@ +import type { Selector } from "css-what"; +import type { CompiledQuery, InternalOptions, CompileToken, Adapter } from "../types.js"; +/** Used as a placeholder for :has. Will be replaced with the actual element. */ +export declare const PLACEHOLDER_ELEMENT: {}; +export declare function ensureIsTag<Node, ElementNode extends Node>(next: CompiledQuery<ElementNode>, adapter: Adapter<Node, ElementNode>): CompiledQuery<Node>; +export declare type Subselect = <Node, ElementNode extends Node>(next: CompiledQuery<ElementNode>, subselect: Selector[][], options: InternalOptions<Node, ElementNode>, context: Node[] | undefined, compileToken: CompileToken<Node, ElementNode>) => CompiledQuery<ElementNode>; +export declare function getNextSiblings<Node, ElementNode extends Node>(elem: Node, adapter: Adapter<Node, ElementNode>): ElementNode[]; +export declare const subselects: Record<string, Subselect>; +//# sourceMappingURL=subselects.d.ts.map
\ No newline at end of file |
