massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / dist / src / drawBorder.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/dist/src/drawBorder.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/table/dist/src/drawBorder.d.ts
new file mode 100644 (file)
index 0000000..476cfb4
--- /dev/null
@@ -0,0 +1,26 @@
+import type { DrawVerticalLine } from './types/api';
+import type { TableConfig, SeparatorGetter, TopBorderConfig, JoinBorderConfig, BottomBorderConfig } from './types/internal';
+declare type Separator = {
+    readonly body: string;
+    readonly join: string;
+    readonly left: string;
+    readonly right: string;
+};
+declare const drawBorder: (columnWidths: number[], config: {
+    drawVerticalLine: DrawVerticalLine;
+    separator: Separator;
+}) => string;
+declare const drawBorderTop: (columnWidths: number[], config: {
+    border: TopBorderConfig;
+    drawVerticalLine: DrawVerticalLine;
+}) => string;
+declare const drawBorderJoin: (columnWidths: number[], config: {
+    border: JoinBorderConfig;
+    drawVerticalLine: DrawVerticalLine;
+}) => string;
+declare const drawBorderBottom: (columnWidths: number[], config: {
+    border: BottomBorderConfig;
+    drawVerticalLine: DrawVerticalLine;
+}) => string;
+export declare const createTableBorderGetter: (columnWidths: number[], config: TableConfig) => SeparatorGetter;
+export { drawBorder, drawBorderBottom, drawBorderJoin, drawBorderTop, };