xwt
2025-08-07 b4c354b235a7755b62e941c6ae30291d1f9a3f8f
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;
}