import { Extension } from "@codemirror/state";
import { Options } from "sql-query-identifier";
import { IdentifyResult } from "sql-query-identifier/lib/defines";
export interface QuerySelectionChangeParams {
    queries: IdentifyResult[];
    selectedQuery: IdentifyResult;
}
export declare function querySelection(dialect: Options["dialect"], onQuerySelectionChange: (params: QuerySelectionChangeParams) => void): Extension;
