declare class PromiseCommit {
    promise(result: any): Promise<unknown>;
    promiseFun(callback: any): Promise<unknown>;
    resolve(result: any): Promise<any>;
    all(promises: any): Promise<any[]>;
    allByJson(promises: {
        [key: string]: Promise<any>;
    }): Promise<{
        result: Record<string, any>;
        errors: Record<string, any>;
    }>;
}
declare const _default: PromiseCommit;
export default _default;
