massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / dist / src / drawBorder.d.ts
1 import type { DrawVerticalLine } from './types/api';
2 import type { TableConfig, SeparatorGetter, TopBorderConfig, JoinBorderConfig, BottomBorderConfig } from './types/internal';
3 declare type Separator = {
4     readonly body: string;
5     readonly join: string;
6     readonly left: string;
7     readonly right: string;
8 };
9 declare const drawBorder: (columnWidths: number[], config: {
10     drawVerticalLine: DrawVerticalLine;
11     separator: Separator;
12 }) => string;
13 declare const drawBorderTop: (columnWidths: number[], config: {
14     border: TopBorderConfig;
15     drawVerticalLine: DrawVerticalLine;
16 }) => string;
17 declare const drawBorderJoin: (columnWidths: number[], config: {
18     border: JoinBorderConfig;
19     drawVerticalLine: DrawVerticalLine;
20 }) => string;
21 declare const drawBorderBottom: (columnWidths: number[], config: {
22     border: BottomBorderConfig;
23     drawVerticalLine: DrawVerticalLine;
24 }) => string;
25 export declare const createTableBorderGetter: (columnWidths: number[], config: TableConfig) => SeparatorGetter;
26 export { drawBorder, drawBorderBottom, drawBorderJoin, drawBorderTop, };