/**
 * Format a string similarly to rust's format! macro.
 *
 * @param str String used for formatting
 * @param params Parameters to be inserted into the format string
 */
export declare function format(str: string, ...params: any[]): string;
/**
 * Raw formatting behaviour function called by `format` and printing functions.
 *
 * @param str String used for formatting
 * @param params Parameters to be inserted into the format string
 * @param options Options passed into formatting
 * @param options.colors Whether to use colors in debug formatting
 */
export declare function fmt_raw(str: string, params: any[], options?: {
    colors: boolean;
}): string;
