import { type Channel, type Connection, type Transport } from "@slide-computer/signer";
import { type StoicConnectionOptions } from "./stoicConnection";
import type { HttpAgent } from "@dfinity/agent";
export declare class StoicTransportError extends Error {
    constructor(message: string);
}
export interface StoicTransportOptions extends StoicConnectionOptions {
    /**
     * Optional, used to make canister calls
     * @default uses {@link HttpAgent} by default
     */
    agent?: HttpAgent;
}
export declare class StoicTransport implements Transport {
    #private;
    private constructor();
    get connection(): Connection;
    static create(options?: StoicTransportOptions): Promise<StoicTransport>;
    establishChannel(): Promise<Channel>;
}
