import * as p_ti from "../../interface/transformer.js"; import * as p_di from "../../interface/data.js"; import { type Abort } from "../../interface/__internal/Abort.js"; import { type Query_Result } from "../../interface/__internal/query/Query_Result.js"; export type Query_Callback = ($: Input) => Query_Result; /** * this function contains the body in which the async value or error is executed * after the execution, either the on_result or on_error callback will be called * @param on_result the callback to call when a value is produced * @param on_error the callback to call when an error is produced */ type Executer = (on_result: ($: Output) => undefined, on_error: ($: Error) => undefined) => undefined; declare class Super_Query_Result_Class { __extract_data: Executer; constructor(executer: Executer); transform(transformer: p_ti.Transformer): Super_Query_Result_Class; query(queryer: Query_Callback): Super_Query_Result_Class; refine(callback: ($: Output, abort: Abort) => New_Output): Super_Query_Result_Class; rework_error_temp(error_reworker: Query_Callback, rework_error_transformer: p_ti.Transformer): Super_Query_Result_Class; } export default function (query_result: Query_Result): Super_Query_Result_Class; export {};