xwt
2025-05-19 13f0dc35c1563020ade62c26891888ac27b24e6d
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;
}