import { RainwayAsyncCallback_RainwayPeerId__RainwayErrorType } from "../rainway-ffi";
/** @internal */
export declare class Callback_RainwayPeerId__RainwayError {
    readonly promise: Promise<BigInt>;
    readonly callbackState: RainwayAsyncCallback_RainwayPeerId__RainwayErrorType;
    private pinned;
    private onResolve?;
    private onReject?;
    private callbackUserData;
    private onSuccess;
    private onFailure;
    /** @internal */
    constructor();
}
