alignString.d.ts
1  import type { Alignment } from './types/api';
2  /**
3   * Pads a string to the left and/or right to position the subject
4   * text in a desired alignment within a container.
5   */
6  export declare const alignString: (subject: string, containerWidth: number, alignment: Alignment) => string;