import * as resourceTypes from "../resource"; /** * Returns true if any errors have occurred in the program. */ export declare function hasErrors(): boolean; /** * Logs a debug-level message that is generally hidden from end-users. */ export declare function debug(msg: string, resource?: resourceTypes.Resource, streamId?: number, ephemeral?: boolean): Promise; /** * Logs an informational message that is generally printed to standard output * during resource operations. */ export declare function info(msg: string, resource?: resourceTypes.Resource, streamId?: number, ephemeral?: boolean): Promise; /** * Logs a warning to indicate that something went wrong, but not * catastrophically so. */ export declare function warn(msg: string, resource?: resourceTypes.Resource, streamId?: number, ephemeral?: boolean): Promise; /** * Logs a fatal condition. Consider raising an exception after calling error to * stop the Pulumi program. */ export declare function error(msg: string, resource?: resourceTypes.Resource, streamId?: number, ephemeral?: boolean): Promise;