19 lines
624 B
TypeScript
Raw Normal View History

2021-02-07 20:01:37 +01:00
import { ConnectionProfile } from "tc-shared/profiles/ConnectionProfile";
export declare type ConnectParameters = {
targetAddress: string;
targetPassword?: string;
targetPasswordHashed?: boolean;
nickname: string;
nicknameSpecified: boolean;
profile: ConnectionProfile;
token?: string;
defaultChannel?: string | number;
defaultChannelPassword?: string;
};
export declare type ConnectModalOptions = {
connectInANewTab?: boolean;
selectedAddress?: string;
selectedProfile?: ConnectionProfile;
};
export declare function spawnConnectModalNew(options: ConnectModalOptions): void;