import type { NativeQueryCapture } from "./grammar-loaders.js"; import type { NormalizedStructure, StructuralCapability, StructuralCapabilityRequirement } from "./types.js"; import type { StructuralQueryContext, StructuralQueryExecutor, StructuralQueryTree } from "./structural-runtime.js"; export interface StructuralQueryPack { readonly version: string; readonly dialects: readonly string[]; readonly querySources: readonly string[]; readonly family?: "typescript" | "python" | "ruby" | "php" | "lua" | "c" | "cpp" | "go" | "rust" | "zig" | "java" | "kotlin" | "scala" | "csharp" | "swift" | "dart" | "elixir" | "erlang" | "clojure" | "ocaml" | "haskell" | "vue" | "markdown" | "json" | "yaml"; } export type QueryCapabilityContract = Readonly>; /** Stable capture ordering and exact duplicate removal across overlapping queries. */ export declare function normalizeQueryCaptures(captures: readonly NativeQueryCapture[]): readonly NativeQueryCapture[]; export declare function executeQueryPack(pack: StructuralQueryPack, tree: StructuralQueryTree, source: Buffer, context: StructuralQueryContext, capabilities?: QueryCapabilityContract): NormalizedStructure; export declare const executeStructuralQueryPack: StructuralQueryExecutor; export declare function structuralQueryPackForDialect(dialect: string): StructuralQueryPack | undefined; //# sourceMappingURL=query-pack.d.ts.map