import { ActorMethod } from "@dfinity/agent";
import { Principal } from "@dfinity/principal";
export type GetInnerType<S> = S extends ActorMethod<infer T> ? T : never;
export type ClientIncomingMessage = {
    key: string;
    content: Uint8Array;
    cert: Uint8Array;
    tree: Uint8Array;
};
export declare const isClientIncomingMessage: (arg: unknown) => arg is ClientIncomingMessage;
export type GatewayHandshakeMessage = {
    gateway_principal: Principal | Uint8Array;
};
export declare const isGatewayHandshakeMessage: (arg: unknown) => arg is GatewayHandshakeMessage;
