amis-rpc-design/node_modules/ansi-fragments/build/fragments/Fixed.d.ts
2023-10-07 19:42:30 +08:00

12 lines
465 B
TypeScript

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