import { LongAsyncRemoteFunction } from '../lib/objectTransport/LongAsyncRemoteFunction';
declare global {
    interface Window {
        tests: any;
    }
}
declare type TestParam = {
    name?: string;
    age?: number;
};
declare type TestReturn = {
    ssn?: string;
};
interface RemoteFunctionParameterMap {
    'test': TestParam;
    'testreturn': TestReturn;
}
export declare class RemoteCallable {
    larf: LongAsyncRemoteFunction<RemoteFunctionParameterMap>;
    private _returnCallback?;
    constructor();
    private test;
    setReturnCallback(cb: (from: string) => any): void;
    private testReturn;
    call<K extends keyof RemoteFunctionParameterMap>(name: K, targetUserId: string, param: RemoteFunctionParameterMap[K]): Promise<void>;
}
export {};
//# sourceMappingURL=setup.d.ts.map