aboutsummaryrefslogtreecommitdiff
path: root/node_modules/yaml/dist/stringify/foldFlowLines.d.ts
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-06-04 08:51:19 +0200
committerMinteck <contact@minteck.org>2022-06-04 08:51:19 +0200
commitb22f6770c8bd084d66950655203c61dd701b3d90 (patch)
tree873d7fb19584ec2709b95cc1ca05a1fc7cfd0fc4 /node_modules/yaml/dist/stringify/foldFlowLines.d.ts
parent383285ecd5292bf9a825e05904955b937de84cc9 (diff)
downloadequestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.tar.gz
equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.tar.bz2
equestriadb-b22f6770c8bd084d66950655203c61dd701b3d90.zip
Remove node_modules
Diffstat (limited to 'node_modules/yaml/dist/stringify/foldFlowLines.d.ts')
-rw-r--r--node_modules/yaml/dist/stringify/foldFlowLines.d.ts34
1 files changed, 0 insertions, 34 deletions
diff --git a/node_modules/yaml/dist/stringify/foldFlowLines.d.ts b/node_modules/yaml/dist/stringify/foldFlowLines.d.ts
deleted file mode 100644
index 58f8c7b..0000000
--- a/node_modules/yaml/dist/stringify/foldFlowLines.d.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-export declare const FOLD_FLOW = "flow";
-export declare const FOLD_BLOCK = "block";
-export declare const FOLD_QUOTED = "quoted";
-/**
- * `'block'` prevents more-indented lines from being folded;
- * `'quoted'` allows for `\` escapes, including escaped newlines
- */
-export declare type FoldMode = 'flow' | 'block' | 'quoted';
-export interface FoldOptions {
- /**
- * Accounts for leading contents on the first line, defaulting to
- * `indent.length`
- */
- indentAtStart?: number;
- /** Default: `80` */
- lineWidth?: number;
- /**
- * Allow highly indented lines to stretch the line width or indent content
- * from the start.
- *
- * Default: `20`
- */
- minContentWidth?: number;
- /** Called once if the text is folded */
- onFold?: () => void;
- /** Called once if any line of text exceeds lineWidth characters */
- onOverflow?: () => void;
-}
-/**
- * Tries to keep input at up to `lineWidth` characters, splitting only on spaces
- * not followed by newlines or spaces unless `mode` is `'quoted'`. Lines are
- * terminated with `\n` and started with `indent`.
- */
-export declare function foldFlowLines(text: string, indent: string, mode?: FoldMode, { indentAtStart, lineWidth, minContentWidth, onFold, onOverflow }?: FoldOptions): string;