declare const LEVELS: readonly ["error", "debug"];
export type Level = (typeof LEVELS)[number];
export declare class Debug {
    private static level;
    static log(label: string, ...args: unknown[]): void;
    static error(err: Error | string, ...args: unknown[]): void;
    static setLevel(level: Level): void;
    static try<T>(fn: () => T | Promise<T>): Promise<T | undefined>;
}
export {};
