xwt
2025-08-12 c3c23631be761f336789f4cc11d33fab2ec9f125
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;
}