/** Fadroma. Copyright (C) 2023 Hack.bg. License: GNU AGPLv3 or custom.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see . **/
import { Core } from '@fadroma/agent';
export declare class ScrtError extends Core.Error {
}
export declare class ScrtConsole extends Core.Console {
label: string;
}
export declare const console: ScrtConsole;
export declare const assign: typeof Core.assign, base16: Core.BytesCoder, base64: Core.BytesCoder, bech32: {
encode: (prefix: Prefix, words: Uint8Array | number[], limit?: number | false) => `${Lowercase}1${string}`;
decode: {
(str: `${Prefix_1}1${string}`, limit?: number | false): Core.Bech32Decoded;
(str: string, limit?: number | false): Core.Bech32Decoded;
};
decodeToBytes: (str: string) => Core.Bech32DecodedWithArray;
decodeUnsafe: (str: string, limit?: number | false) => void | Core.Bech32Decoded;
fromWords: (to: number[]) => Uint8Array;
fromWordsUnsafe: (to: number[]) => void | Uint8Array;
toWords: (from: Uint8Array) => number[];
}, bip32: typeof Core.bip32, bip39: typeof Core.bip39, bip39EN: string[], bold: Core.colors.Chalk, brailleDump: typeof Core.brailleDump, colors: {
default: Core.colors.Chalk & Core.colors.ChalkFunction & {
supportsColor: false | Core.colors.ColorSupport;
Level: Core.colors.Level;
Color: ("black" | "blue" | "green" | "yellow" | "red" | "magenta" | "cyan" | "white" | "gray" | "grey" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright") | ("bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright");
ForegroundColor: "black" | "blue" | "green" | "yellow" | "red" | "magenta" | "cyan" | "white" | "gray" | "grey" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright";
BackgroundColor: "bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright";
Modifiers: "bold" | "hidden" | "reset" | "dim" | "italic" | "underline" | "inverse" | "strikethrough" | "visible";
stderr: Core.colors.Chalk & {
supportsColor: false | Core.colors.ColorSupport;
};
};
Instance: Core.colors.Instance;
level: Core.colors.Level;
hex(color: string): Core.colors.Chalk;
keyword(color: string): Core.colors.Chalk;
rgb(red: number, green: number, blue: number): Core.colors.Chalk;
hsl(hue: number, saturation: number, lightness: number): Core.colors.Chalk;
hsv(hue: number, saturation: number, value: number): Core.colors.Chalk;
hwb(hue: number, whiteness: number, blackness: number): Core.colors.Chalk;
ansi(code: number): Core.colors.Chalk;
ansi256(index: number): Core.colors.Chalk;
bgHex(color: string): Core.colors.Chalk;
bgKeyword(color: string): Core.colors.Chalk;
bgRgb(red: number, green: number, blue: number): Core.colors.Chalk;
bgHsl(hue: number, saturation: number, lightness: number): Core.colors.Chalk;
bgHsv(hue: number, saturation: number, value: number): Core.colors.Chalk;
bgHwb(hue: number, whiteness: number, blackness: number): Core.colors.Chalk;
bgAnsi(code: number): Core.colors.Chalk;
bgAnsi256(index: number): Core.colors.Chalk;
reset: Core.colors.Chalk;
bold: Core.colors.Chalk;
dim: Core.colors.Chalk;
italic: Core.colors.Chalk;
underline: Core.colors.Chalk;
inverse: Core.colors.Chalk;
hidden: Core.colors.Chalk;
strikethrough: Core.colors.Chalk;
visible: Core.colors.Chalk;
black: Core.colors.Chalk;
red: Core.colors.Chalk;
green: Core.colors.Chalk;
yellow: Core.colors.Chalk;
blue: Core.colors.Chalk;
magenta: Core.colors.Chalk;
cyan: Core.colors.Chalk;
white: Core.colors.Chalk;
gray: Core.colors.Chalk;
grey: Core.colors.Chalk;
blackBright: Core.colors.Chalk;
redBright: Core.colors.Chalk;
greenBright: Core.colors.Chalk;
yellowBright: Core.colors.Chalk;
blueBright: Core.colors.Chalk;
magentaBright: Core.colors.Chalk;
cyanBright: Core.colors.Chalk;
whiteBright: Core.colors.Chalk;
bgBlack: Core.colors.Chalk;
bgRed: Core.colors.Chalk;
bgGreen: Core.colors.Chalk;
bgYellow: Core.colors.Chalk;
bgBlue: Core.colors.Chalk;
bgMagenta: Core.colors.Chalk;
bgCyan: Core.colors.Chalk;
bgWhite: Core.colors.Chalk;
bgGray: Core.colors.Chalk;
bgGrey: Core.colors.Chalk;
bgBlackBright: Core.colors.Chalk;
bgRedBright: Core.colors.Chalk;
bgGreenBright: Core.colors.Chalk;
bgYellowBright: Core.colors.Chalk;
bgBlueBright: Core.colors.Chalk;
bgMagentaBright: Core.colors.Chalk;
bgCyanBright: Core.colors.Chalk;
bgWhiteBright: Core.colors.Chalk;
supportsColor: false | Core.colors.ColorSupport;
Level: Core.colors.Level;
Color: ("black" | "blue" | "green" | "yellow" | "red" | "magenta" | "cyan" | "white" | "gray" | "grey" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright") | ("bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright");
ForegroundColor: "black" | "blue" | "green" | "yellow" | "red" | "magenta" | "cyan" | "white" | "gray" | "grey" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright";
BackgroundColor: "bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright";
Modifiers: "bold" | "hidden" | "reset" | "dim" | "italic" | "underline" | "inverse" | "strikethrough" | "visible";
stderr: Core.colors.Chalk & {
supportsColor: false | Core.colors.ColorSupport;
};
}, into: typeof Core.into, randomBech32: (prefix?: string, n?: number) => `${Lowercase}1${string}`, randomBase64: (n?: number) => string;
//# sourceMappingURL=scrt-base.d.ts.map