import type { JsonValue } from "./core/results.ts"; import type { Callback } from "./core/types.ts"; export declare function query(input: JsonValue, expression: string): JsonValue[]; export declare function paths(input: JsonValue, expression: string): string[]; export declare function exec(input: JsonValue, expression: string, cb: Callback): void; export declare function batchExec(input: JsonValue, expressionToCallback: Map, errorCallback?: (error: Error, expression: string) => void): void; export type { JsonValue }; export type ErrorCallback = (error: Error, expression: string) => void; export type { Callback } from "./core/types.ts"; export type { Path } from "./core/path.ts";