/// /** * Generate string for a clickable link to the given room * @param roomName name of the target room * @param text string to display as button * @param onClick addition script * @returns an html link string */ export declare function getLinkToRoom(roomName: string, text: string, onClick?: string): string; /** * Generate string for a clickable link to the given game object * @author semperrabbit 20170114 * @author helam * @param it target game object * @param text string to display as button * @param memWatch optionally add a memory watch * @returns an html link string */ export declare function getLinkToObject(it: _HasRoomPosition & _HasId, text: string, memWatch?: string | undefined | false): string; /** * Generate string for a clickable link to the given creep * @author semperrabbit 20170114 * @author helam * @param it target creep * @param text optional string to display as button * @returns an html link string */ export declare function getLinkToCreep(it: Creep, text?: string | undefined): string; /** * Generate string for a clickable link to the given spawn * @author semperrabbit 20170114 * @author helam * @param it target spawn * @param text optional string to display as button * @returns an html link string */ export declare function getLinkToSpawn(it: StructureSpawn, text?: string | undefined): string; /** * Generate string for a clickable link to the given flag * @author semperrabbit 20170114 * @author helam * @param it target flag * @param text optional string to display as button * @returns an html link string */ export declare function getLinkToFlag(it: Flag, text?: string | undefined): string; /** * Convert string to html safe characters * @param s string to escape * @returns string without bad html characters */ export declare function htmlEscape(s: string): string;