xwt
2025-06-09 6bf8209f8bdfe138d5282059eef765324909f2fd
1
2
3
4
5
6
7
8
9
import { Options, Output, ResultCallback } from "../types";
export declare class APIBuilder<TReturnType extends Output> {
    private readonly root;
    private readonly options;
    constructor(root: string, options: Options);
    withPromise(): Promise<TReturnType>;
    withCallback(cb: ResultCallback<TReturnType>): void;
    sync(): TReturnType;
}