export type HostId = `${string}@${string}`;
export declare function parseHostId(settings: {
    host: string;
    user?: string;
    port?: number;
}): HostId;
export declare const allowedRuleChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-.:";
export declare const allowedIdRuleChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@";
export declare function throwCharsetError(value: string, chatSet: string): void | never;
export declare function matchesCharset(value: string, chatSet: string): boolean;
export declare function isHostId(value: any): value is HostId;
//# sourceMappingURL=HostId.d.ts.map