mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
7 lines
280 B
TypeScript
7 lines
280 B
TypeScript
|
import type { Alignment } from './types/api';
|
||
|
/**
|
||
|
* Pads a string to the left and/or right to position the subject
|
||
|
* text in a desired alignment within a container.
|
||
|
*/
|
||
|
export declare const alignString: (subject: string, containerWidth: number, alignment: Alignment) => string;
|