import { RangeSet, RangeValue } from "@codemirror/rangeset";
import { EditorState } from "@codemirror/state";
export declare type PrismaQuery = {
    model?: string;
    operation: string;
    args: (string | Record<string, any>)[];
};
/** A Range representing a single PrismaClient query */
export declare class PrismaQueryRangeValue extends RangeValue {
    query: PrismaQuery;
    constructor({ model, operation, args, }: Omit<PrismaQuery, "args"> & {
        args?: string[];
    });
}
/**
 * Given an EditorState, returns positions of and decorations associated with all Prisma Client queries
 */
export declare function findQueries(state: EditorState): RangeSet<PrismaQueryRangeValue>;
