amis-rpc-design/node_modules/ansi-fragments/build/fragments/Modifier.d.ts

10 lines
521 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import IFragment from './IFragment';
export declare type AnsiModifier = 'dim' | 'bold' | 'hidden' | 'italic' | 'underline' | 'strikethrough' | 'none';
export declare function modifier(ansiModifier: AnsiModifier, ...children: Array<string | IFragment>): Modifier;
export declare class Modifier implements IFragment {
private readonly modifier;
private readonly children;
constructor(ansiModifier: AnsiModifier, children: Array<string | IFragment>);
build(): string;
}
//# sourceMappingURL=Modifier.d.ts.map