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

12 lines
465 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import IFragment from './IFragment';
declare type Bias = 'start' | 'end';
export declare function fixed(value: number, bias: Bias, ...children: Array<string | IFragment>): Fixed;
export declare class Fixed implements IFragment {
private readonly width;
private readonly bias;
private readonly children;
constructor(width: number, bias: Bias, children: Array<string | IFragment>);
build(): string;
}
export {};
//# sourceMappingURL=Fixed.d.ts.map