Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1export class VFile {2 /**3 * Create a new virtual file.4 *5 * `options` is treated as:6 *7 * * `string` or `Uint8Array` — `{value: options}`8 * * `URL` — `{path: options}`9 * * `VFile` — shallow copies its data over to the new file10 * * `object` — all fields are shallow copied over to the new file11 *12 * Path related fields are set in the following order (least specific to13 * most specific): `history`, `path`, `basename`, `stem`, `extname`,14 * `dirname`.15 *16 * You cannot set `dirname` or `extname` without setting either `history`,17 * `path`, `basename`, or `stem` too.18 *19 * @param {Compatible | null | undefined} [value]20 * File value.21 * @returns22 * New instance.23 */24 constructor(value?: Compatible | null | undefined);25 /**26 * Base of `path` (default: `process.cwd()` or `'/'` in browsers).27 *28 * @type {string}29 */30 cwd: string;31 /**32 * Place to store custom info (default: `{}`).33 *34 * It’s OK to store custom data directly on the file but moving it to35 * `data` is recommended.36 *37 * @type {Data}38 */39 data: Data;40 /**41 * List of file paths the file moved between.42 *43 * The first is the original path and the last is the current path.44 *45 * @type {Array<string>}46 */47 history: Array<string>;48 /**49 * List of messages associated with the file.50 *51 * @type {Array<VFileMessage>}52 */53 messages: Array<VFileMessage>;54 /**55 * Raw value.56 *57 * @type {Value}58 */59 value: Value;60 /**61 * Source map.62 *63 * This type is equivalent to the `RawSourceMap` type from the `source-map`64 * module.65 *66 * @type {Map | null | undefined}67 */68 map: Map | null | undefined;69 /**70 * Custom, non-string, compiled, representation.71 *72 * This is used by unified to store non-string results.73 * One example is when turning markdown into React nodes.74 *75 * @type {unknown}76 */77 result: unknown;78 /**79 * Whether a file was saved to disk.80 *81 * This is used by vfile reporters.82 *83 * @type {boolean}84 */85 stored: boolean;86 /**87 * Set basename (including extname) (`'index.min.js'`).88 *89 * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\'`90 * on windows).91 * Cannot be nullified (use `file.path = file.dirname` instead).92 *93 * @param {string} basename94 * Basename.95 * @returns {undefined}96 * Nothing.97 */98 set basename(basename: string);99 /**100 * Get the basename (including extname) (example: `'index.min.js'`).101 *102 * @returns {string | undefined}103 * Basename.104 */105 get basename(): string | undefined;106 /**107 * Set the full path (example: `'~/index.min.js'`).108 *109 * Cannot be nullified.110 * You can set a file URL (a `URL` object with a `file:` protocol) which will111 * be turned into a path with `url.fileURLToPath`.112 *113 * @param {URL | string} path114 * Path.115 * @returns {undefined}116 * Nothing.117 */118 set path(path: string | URL);119 /**120 * Get the full path (example: `'~/index.min.js'`).121 *122 * @returns {string}123 * Path.124 */125 get path(): string;126 /**127 * Set the parent path (example: `'~'`).128 *129 * Cannot be set if there’s no `path` yet.130 *131 * @param {string | undefined} dirname132 * Dirname.133 * @returns {undefined}134 * Nothing.135 */136 set dirname(dirname: string | undefined);137 /**138 * Get the parent path (example: `'~'`).139 *140 * @returns {string | undefined}141 * Dirname.142 */143 get dirname(): string | undefined;144 /**145 * Set the extname (including dot) (example: `'.js'`).146 *147 * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\'`148 * on windows).149 * Cannot be set if there’s no `path` yet.150 *151 * @param {string | undefined} extname152 * Extname.153 * @returns {undefined}154 * Nothing.155 */156 set extname(extname: string | undefined);157 /**158 * Get the extname (including dot) (example: `'.js'`).159 *160 * @returns {string | undefined}161 * Extname.162 */163 get extname(): string | undefined;164 /**165 * Set the stem (basename w/o extname) (example: `'index.min'`).166 *167 * Cannot contain path separators (`'/'` on unix, macOS, and browsers, `'\'`168 * on windows).169 * Cannot be nullified (use `file.path = file.dirname` instead).170 *171 * @param {string} stem172 * Stem.173 * @returns {undefined}174 * Nothing.175 */176 set stem(stem: string);177 /**178 * Get the stem (basename w/o extname) (example: `'index.min'`).179 *180 * @returns {string | undefined}181 * Stem.182 */183 get stem(): string | undefined;184 /**185 * Create a fatal message for `reason` associated with the file.186 *187 * The `fatal` field of the message is set to `true` (error; file not usable)188 * and the `file` field is set to the current file path.189 * The message is added to the `messages` field on `file`.190 *191 * > 🪦 **Note**: also has obsolete signatures.192 *193 * @overload194 * @param {string} reason195 * @param {MessageOptions | null | undefined} [options]196 * @returns {never}197 *198 * @overload199 * @param {string} reason200 * @param {Node | NodeLike | null | undefined} parent201 * @param {string | null | undefined} [origin]202 * @returns {never}203 *204 * @overload205 * @param {string} reason206 * @param {Point | Position | null | undefined} place207 * @param {string | null | undefined} [origin]208 * @returns {never}209 *210 * @overload211 * @param {string} reason212 * @param {string | null | undefined} [origin]213 * @returns {never}214 *215 * @overload216 * @param {Error | VFileMessage} cause217 * @param {Node | NodeLike | null | undefined} parent218 * @param {string | null | undefined} [origin]219 * @returns {never}220 *221 * @overload222 * @param {Error | VFileMessage} cause223 * @param {Point | Position | null | undefined} place224 * @param {string | null | undefined} [origin]225 * @returns {never}226 *227 * @overload228 * @param {Error | VFileMessage} cause229 * @param {string | null | undefined} [origin]230 * @returns {never}231 *232 * @param {Error | VFileMessage | string} causeOrReason233 * Reason for message, should use markdown.234 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]235 * Configuration (optional).236 * @param {string | null | undefined} [origin]237 * Place in code where the message originates (example:238 * `'my-package:my-rule'` or `'my-rule'`).239 * @returns {never}240 * Never.241 * @throws {VFileMessage}242 * Message.243 */244 fail(reason: string, options?: MessageOptions | null | undefined): never;245 /**246 * Create a fatal message for `reason` associated with the file.247 *248 * The `fatal` field of the message is set to `true` (error; file not usable)249 * and the `file` field is set to the current file path.250 * The message is added to the `messages` field on `file`.251 *252 * > 🪦 **Note**: also has obsolete signatures.253 *254 * @overload255 * @param {string} reason256 * @param {MessageOptions | null | undefined} [options]257 * @returns {never}258 *259 * @overload260 * @param {string} reason261 * @param {Node | NodeLike | null | undefined} parent262 * @param {string | null | undefined} [origin]263 * @returns {never}264 *265 * @overload266 * @param {string} reason267 * @param {Point | Position | null | undefined} place268 * @param {string | null | undefined} [origin]269 * @returns {never}270 *271 * @overload272 * @param {string} reason273 * @param {string | null | undefined} [origin]274 * @returns {never}275 *276 * @overload277 * @param {Error | VFileMessage} cause278 * @param {Node | NodeLike | null | undefined} parent279 * @param {string | null | undefined} [origin]280 * @returns {never}281 *282 * @overload283 * @param {Error | VFileMessage} cause284 * @param {Point | Position | null | undefined} place285 * @param {string | null | undefined} [origin]286 * @returns {never}287 *288 * @overload289 * @param {Error | VFileMessage} cause290 * @param {string | null | undefined} [origin]291 * @returns {never}292 *293 * @param {Error | VFileMessage | string} causeOrReason294 * Reason for message, should use markdown.295 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]296 * Configuration (optional).297 * @param {string | null | undefined} [origin]298 * Place in code where the message originates (example:299 * `'my-package:my-rule'` or `'my-rule'`).300 * @returns {never}301 * Never.302 * @throws {VFileMessage}303 * Message.304 */305 fail(reason: string, parent: Node | NodeLike | null | undefined, origin?: string | null | undefined): never;306 /**307 * Create a fatal message for `reason` associated with the file.308 *309 * The `fatal` field of the message is set to `true` (error; file not usable)310 * and the `file` field is set to the current file path.311 * The message is added to the `messages` field on `file`.312 *313 * > 🪦 **Note**: also has obsolete signatures.314 *315 * @overload316 * @param {string} reason317 * @param {MessageOptions | null | undefined} [options]318 * @returns {never}319 *320 * @overload321 * @param {string} reason322 * @param {Node | NodeLike | null | undefined} parent323 * @param {string | null | undefined} [origin]324 * @returns {never}325 *326 * @overload327 * @param {string} reason328 * @param {Point | Position | null | undefined} place329 * @param {string | null | undefined} [origin]330 * @returns {never}331 *332 * @overload333 * @param {string} reason334 * @param {string | null | undefined} [origin]335 * @returns {never}336 *337 * @overload338 * @param {Error | VFileMessage} cause339 * @param {Node | NodeLike | null | undefined} parent340 * @param {string | null | undefined} [origin]341 * @returns {never}342 *343 * @overload344 * @param {Error | VFileMessage} cause345 * @param {Point | Position | null | undefined} place346 * @param {string | null | undefined} [origin]347 * @returns {never}348 *349 * @overload350 * @param {Error | VFileMessage} cause351 * @param {string | null | undefined} [origin]352 * @returns {never}353 *354 * @param {Error | VFileMessage | string} causeOrReason355 * Reason for message, should use markdown.356 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]357 * Configuration (optional).358 * @param {string | null | undefined} [origin]359 * Place in code where the message originates (example:360 * `'my-package:my-rule'` or `'my-rule'`).361 * @returns {never}362 * Never.363 * @throws {VFileMessage}364 * Message.365 */366 fail(reason: string, place: Point | Position | null | undefined, origin?: string | null | undefined): never;367 /**368 * Create a fatal message for `reason` associated with the file.369 *370 * The `fatal` field of the message is set to `true` (error; file not usable)371 * and the `file` field is set to the current file path.372 * The message is added to the `messages` field on `file`.373 *374 * > 🪦 **Note**: also has obsolete signatures.375 *376 * @overload377 * @param {string} reason378 * @param {MessageOptions | null | undefined} [options]379 * @returns {never}380 *381 * @overload382 * @param {string} reason383 * @param {Node | NodeLike | null | undefined} parent384 * @param {string | null | undefined} [origin]385 * @returns {never}386 *387 * @overload388 * @param {string} reason389 * @param {Point | Position | null | undefined} place390 * @param {string | null | undefined} [origin]391 * @returns {never}392 *393 * @overload394 * @param {string} reason395 * @param {string | null | undefined} [origin]396 * @returns {never}397 *398 * @overload399 * @param {Error | VFileMessage} cause400 * @param {Node | NodeLike | null | undefined} parent401 * @param {string | null | undefined} [origin]402 * @returns {never}403 *404 * @overload405 * @param {Error | VFileMessage} cause406 * @param {Point | Position | null | undefined} place407 * @param {string | null | undefined} [origin]408 * @returns {never}409 *410 * @overload411 * @param {Error | VFileMessage} cause412 * @param {string | null | undefined} [origin]413 * @returns {never}414 *415 * @param {Error | VFileMessage | string} causeOrReason416 * Reason for message, should use markdown.417 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]418 * Configuration (optional).419 * @param {string | null | undefined} [origin]420 * Place in code where the message originates (example:421 * `'my-package:my-rule'` or `'my-rule'`).422 * @returns {never}423 * Never.424 * @throws {VFileMessage}425 * Message.426 */427 fail(reason: string, origin?: string | null | undefined): never;428 /**429 * Create a fatal message for `reason` associated with the file.430 *431 * The `fatal` field of the message is set to `true` (error; file not usable)432 * and the `file` field is set to the current file path.433 * The message is added to the `messages` field on `file`.434 *435 * > 🪦 **Note**: also has obsolete signatures.436 *437 * @overload438 * @param {string} reason439 * @param {MessageOptions | null | undefined} [options]440 * @returns {never}441 *442 * @overload443 * @param {string} reason444 * @param {Node | NodeLike | null | undefined} parent445 * @param {string | null | undefined} [origin]446 * @returns {never}447 *448 * @overload449 * @param {string} reason450 * @param {Point | Position | null | undefined} place451 * @param {string | null | undefined} [origin]452 * @returns {never}453 *454 * @overload455 * @param {string} reason456 * @param {string | null | undefined} [origin]457 * @returns {never}458 *459 * @overload460 * @param {Error | VFileMessage} cause461 * @param {Node | NodeLike | null | undefined} parent462 * @param {string | null | undefined} [origin]463 * @returns {never}464 *465 * @overload466 * @param {Error | VFileMessage} cause467 * @param {Point | Position | null | undefined} place468 * @param {string | null | undefined} [origin]469 * @returns {never}470 *471 * @overload472 * @param {Error | VFileMessage} cause473 * @param {string | null | undefined} [origin]474 * @returns {never}475 *476 * @param {Error | VFileMessage | string} causeOrReason477 * Reason for message, should use markdown.478 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]479 * Configuration (optional).480 * @param {string | null | undefined} [origin]481 * Place in code where the message originates (example:482 * `'my-package:my-rule'` or `'my-rule'`).483 * @returns {never}484 * Never.485 * @throws {VFileMessage}486 * Message.487 */488 fail(cause: Error | VFileMessage, parent: Node | NodeLike | null | undefined, origin?: string | null | undefined): never;489 /**490 * Create a fatal message for `reason` associated with the file.491 *492 * The `fatal` field of the message is set to `true` (error; file not usable)493 * and the `file` field is set to the current file path.494 * The message is added to the `messages` field on `file`.495 *496 * > 🪦 **Note**: also has obsolete signatures.497 *498 * @overload499 * @param {string} reason500 * @param {MessageOptions | null | undefined} [options]501 * @returns {never}502 *503 * @overload504 * @param {string} reason505 * @param {Node | NodeLike | null | undefined} parent506 * @param {string | null | undefined} [origin]507 * @returns {never}508 *509 * @overload510 * @param {string} reason511 * @param {Point | Position | null | undefined} place512 * @param {string | null | undefined} [origin]513 * @returns {never}514 *515 * @overload516 * @param {string} reason517 * @param {string | null | undefined} [origin]518 * @returns {never}519 *520 * @overload521 * @param {Error | VFileMessage} cause522 * @param {Node | NodeLike | null | undefined} parent523 * @param {string | null | undefined} [origin]524 * @returns {never}525 *526 * @overload527 * @param {Error | VFileMessage} cause528 * @param {Point | Position | null | undefined} place529 * @param {string | null | undefined} [origin]530 * @returns {never}531 *532 * @overload533 * @param {Error | VFileMessage} cause534 * @param {string | null | undefined} [origin]535 * @returns {never}536 *537 * @param {Error | VFileMessage | string} causeOrReason538 * Reason for message, should use markdown.539 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]540 * Configuration (optional).541 * @param {string | null | undefined} [origin]542 * Place in code where the message originates (example:543 * `'my-package:my-rule'` or `'my-rule'`).544 * @returns {never}545 * Never.546 * @throws {VFileMessage}547 * Message.548 */549 fail(cause: Error | VFileMessage, place: Point | Position | null | undefined, origin?: string | null | undefined): never;550 /**551 * Create a fatal message for `reason` associated with the file.552 *553 * The `fatal` field of the message is set to `true` (error; file not usable)554 * and the `file` field is set to the current file path.555 * The message is added to the `messages` field on `file`.556 *557 * > 🪦 **Note**: also has obsolete signatures.558 *559 * @overload560 * @param {string} reason561 * @param {MessageOptions | null | undefined} [options]562 * @returns {never}563 *564 * @overload565 * @param {string} reason566 * @param {Node | NodeLike | null | undefined} parent567 * @param {string | null | undefined} [origin]568 * @returns {never}569 *570 * @overload571 * @param {string} reason572 * @param {Point | Position | null | undefined} place573 * @param {string | null | undefined} [origin]574 * @returns {never}575 *576 * @overload577 * @param {string} reason578 * @param {string | null | undefined} [origin]579 * @returns {never}580 *581 * @overload582 * @param {Error | VFileMessage} cause583 * @param {Node | NodeLike | null | undefined} parent584 * @param {string | null | undefined} [origin]585 * @returns {never}586 *587 * @overload588 * @param {Error | VFileMessage} cause589 * @param {Point | Position | null | undefined} place590 * @param {string | null | undefined} [origin]591 * @returns {never}592 *593 * @overload594 * @param {Error | VFileMessage} cause595 * @param {string | null | undefined} [origin]596 * @returns {never}597 *598 * @param {Error | VFileMessage | string} causeOrReason599 * Reason for message, should use markdown.600 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]601 * Configuration (optional).602 * @param {string | null | undefined} [origin]603 * Place in code where the message originates (example:604 * `'my-package:my-rule'` or `'my-rule'`).605 * @returns {never}606 * Never.607 * @throws {VFileMessage}608 * Message.609 */610 fail(cause: Error | VFileMessage, origin?: string | null | undefined): never;611 /**612 * Create an info message for `reason` associated with the file.613 *614 * The `fatal` field of the message is set to `undefined` (info; change615 * likely not needed) and the `file` field is set to the current file path.616 * The message is added to the `messages` field on `file`.617 *618 * > 🪦 **Note**: also has obsolete signatures.619 *620 * @overload621 * @param {string} reason622 * @param {MessageOptions | null | undefined} [options]623 * @returns {VFileMessage}624 *625 * @overload626 * @param {string} reason627 * @param {Node | NodeLike | null | undefined} parent628 * @param {string | null | undefined} [origin]629 * @returns {VFileMessage}630 *631 * @overload632 * @param {string} reason633 * @param {Point | Position | null | undefined} place634 * @param {string | null | undefined} [origin]635 * @returns {VFileMessage}636 *637 * @overload638 * @param {string} reason639 * @param {string | null | undefined} [origin]640 * @returns {VFileMessage}641 *642 * @overload643 * @param {Error | VFileMessage} cause644 * @param {Node | NodeLike | null | undefined} parent645 * @param {string | null | undefined} [origin]646 * @returns {VFileMessage}647 *648 * @overload649 * @param {Error | VFileMessage} cause650 * @param {Point | Position | null | undefined} place651 * @param {string | null | undefined} [origin]652 * @returns {VFileMessage}653 *654 * @overload655 * @param {Error | VFileMessage} cause656 * @param {string | null | undefined} [origin]657 * @returns {VFileMessage}658 *659 * @param {Error | VFileMessage | string} causeOrReason660 * Reason for message, should use markdown.661 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]662 * Configuration (optional).663 * @param {string | null | undefined} [origin]664 * Place in code where the message originates (example:665 * `'my-package:my-rule'` or `'my-rule'`).666 * @returns {VFileMessage}667 * Message.668 */669 info(reason: string, options?: MessageOptions | null | undefined): VFileMessage;670 /**671 * Create an info message for `reason` associated with the file.672 *673 * The `fatal` field of the message is set to `undefined` (info; change674 * likely not needed) and the `file` field is set to the current file path.675 * The message is added to the `messages` field on `file`.676 *677 * > 🪦 **Note**: also has obsolete signatures.678 *679 * @overload680 * @param {string} reason681 * @param {MessageOptions | null | undefined} [options]682 * @returns {VFileMessage}683 *684 * @overload685 * @param {string} reason686 * @param {Node | NodeLike | null | undefined} parent687 * @param {string | null | undefined} [origin]688 * @returns {VFileMessage}689 *690 * @overload691 * @param {string} reason692 * @param {Point | Position | null | undefined} place693 * @param {string | null | undefined} [origin]694 * @returns {VFileMessage}695 *696 * @overload697 * @param {string} reason698 * @param {string | null | undefined} [origin]699 * @returns {VFileMessage}700 *701 * @overload702 * @param {Error | VFileMessage} cause703 * @param {Node | NodeLike | null | undefined} parent704 * @param {string | null | undefined} [origin]705 * @returns {VFileMessage}706 *707 * @overload708 * @param {Error | VFileMessage} cause709 * @param {Point | Position | null | undefined} place710 * @param {string | null | undefined} [origin]711 * @returns {VFileMessage}712 *713 * @overload714 * @param {Error | VFileMessage} cause715 * @param {string | null | undefined} [origin]716 * @returns {VFileMessage}717 *718 * @param {Error | VFileMessage | string} causeOrReason719 * Reason for message, should use markdown.720 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]721 * Configuration (optional).722 * @param {string | null | undefined} [origin]723 * Place in code where the message originates (example:724 * `'my-package:my-rule'` or `'my-rule'`).725 * @returns {VFileMessage}726 * Message.727 */728 info(reason: string, parent: Node | NodeLike | null | undefined, origin?: string | null | undefined): VFileMessage;729 /**730 * Create an info message for `reason` associated with the file.731 *732 * The `fatal` field of the message is set to `undefined` (info; change733 * likely not needed) and the `file` field is set to the current file path.734 * The message is added to the `messages` field on `file`.735 *736 * > 🪦 **Note**: also has obsolete signatures.737 *738 * @overload739 * @param {string} reason740 * @param {MessageOptions | null | undefined} [options]741 * @returns {VFileMessage}742 *743 * @overload744 * @param {string} reason745 * @param {Node | NodeLike | null | undefined} parent746 * @param {string | null | undefined} [origin]747 * @returns {VFileMessage}748 *749 * @overload750 * @param {string} reason751 * @param {Point | Position | null | undefined} place752 * @param {string | null | undefined} [origin]753 * @returns {VFileMessage}754 *755 * @overload756 * @param {string} reason757 * @param {string | null | undefined} [origin]758 * @returns {VFileMessage}759 *760 * @overload761 * @param {Error | VFileMessage} cause762 * @param {Node | NodeLike | null | undefined} parent763 * @param {string | null | undefined} [origin]764 * @returns {VFileMessage}765 *766 * @overload767 * @param {Error | VFileMessage} cause768 * @param {Point | Position | null | undefined} place769 * @param {string | null | undefined} [origin]770 * @returns {VFileMessage}771 *772 * @overload773 * @param {Error | VFileMessage} cause774 * @param {string | null | undefined} [origin]775 * @returns {VFileMessage}776 *777 * @param {Error | VFileMessage | string} causeOrReason778 * Reason for message, should use markdown.779 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]780 * Configuration (optional).781 * @param {string | null | undefined} [origin]782 * Place in code where the message originates (example:783 * `'my-package:my-rule'` or `'my-rule'`).784 * @returns {VFileMessage}785 * Message.786 */787 info(reason: string, place: Point | Position | null | undefined, origin?: string | null | undefined): VFileMessage;788 /**789 * Create an info message for `reason` associated with the file.790 *791 * The `fatal` field of the message is set to `undefined` (info; change792 * likely not needed) and the `file` field is set to the current file path.793 * The message is added to the `messages` field on `file`.794 *795 * > 🪦 **Note**: also has obsolete signatures.796 *797 * @overload798 * @param {string} reason799 * @param {MessageOptions | null | undefined} [options]800 * @returns {VFileMessage}801 *802 * @overload803 * @param {string} reason804 * @param {Node | NodeLike | null | undefined} parent805 * @param {string | null | undefined} [origin]806 * @returns {VFileMessage}807 *808 * @overload809 * @param {string} reason810 * @param {Point | Position | null | undefined} place811 * @param {string | null | undefined} [origin]812 * @returns {VFileMessage}813 *814 * @overload815 * @param {string} reason816 * @param {string | null | undefined} [origin]817 * @returns {VFileMessage}818 *819 * @overload820 * @param {Error | VFileMessage} cause821 * @param {Node | NodeLike | null | undefined} parent822 * @param {string | null | undefined} [origin]823 * @returns {VFileMessage}824 *825 * @overload826 * @param {Error | VFileMessage} cause827 * @param {Point | Position | null | undefined} place828 * @param {string | null | undefined} [origin]829 * @returns {VFileMessage}830 *831 * @overload832 * @param {Error | VFileMessage} cause833 * @param {string | null | undefined} [origin]834 * @returns {VFileMessage}835 *836 * @param {Error | VFileMessage | string} causeOrReason837 * Reason for message, should use markdown.838 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]839 * Configuration (optional).840 * @param {string | null | undefined} [origin]841 * Place in code where the message originates (example:842 * `'my-package:my-rule'` or `'my-rule'`).843 * @returns {VFileMessage}844 * Message.845 */846 info(reason: string, origin?: string | null | undefined): VFileMessage;847 /**848 * Create an info message for `reason` associated with the file.849 *850 * The `fatal` field of the message is set to `undefined` (info; change851 * likely not needed) and the `file` field is set to the current file path.852 * The message is added to the `messages` field on `file`.853 *854 * > 🪦 **Note**: also has obsolete signatures.855 *856 * @overload857 * @param {string} reason858 * @param {MessageOptions | null | undefined} [options]859 * @returns {VFileMessage}860 *861 * @overload862 * @param {string} reason863 * @param {Node | NodeLike | null | undefined} parent864 * @param {string | null | undefined} [origin]865 * @returns {VFileMessage}866 *867 * @overload868 * @param {string} reason869 * @param {Point | Position | null | undefined} place870 * @param {string | null | undefined} [origin]871 * @returns {VFileMessage}872 *873 * @overload874 * @param {string} reason875 * @param {string | null | undefined} [origin]876 * @returns {VFileMessage}877 *878 * @overload879 * @param {Error | VFileMessage} cause880 * @param {Node | NodeLike | null | undefined} parent881 * @param {string | null | undefined} [origin]882 * @returns {VFileMessage}883 *884 * @overload885 * @param {Error | VFileMessage} cause886 * @param {Point | Position | null | undefined} place887 * @param {string | null | undefined} [origin]888 * @returns {VFileMessage}889 *890 * @overload891 * @param {Error | VFileMessage} cause892 * @param {string | null | undefined} [origin]893 * @returns {VFileMessage}894 *895 * @param {Error | VFileMessage | string} causeOrReason896 * Reason for message, should use markdown.897 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]898 * Configuration (optional).899 * @param {string | null | undefined} [origin]900 * Place in code where the message originates (example:901 * `'my-package:my-rule'` or `'my-rule'`).902 * @returns {VFileMessage}903 * Message.904 */905 info(cause: Error | VFileMessage, parent: Node | NodeLike | null | undefined, origin?: string | null | undefined): VFileMessage;906 /**907 * Create an info message for `reason` associated with the file.908 *909 * The `fatal` field of the message is set to `undefined` (info; change910 * likely not needed) and the `file` field is set to the current file path.911 * The message is added to the `messages` field on `file`.912 *913 * > 🪦 **Note**: also has obsolete signatures.914 *915 * @overload916 * @param {string} reason917 * @param {MessageOptions | null | undefined} [options]918 * @returns {VFileMessage}919 *920 * @overload921 * @param {string} reason922 * @param {Node | NodeLike | null | undefined} parent923 * @param {string | null | undefined} [origin]924 * @returns {VFileMessage}925 *926 * @overload927 * @param {string} reason928 * @param {Point | Position | null | undefined} place929 * @param {string | null | undefined} [origin]930 * @returns {VFileMessage}931 *932 * @overload933 * @param {string} reason934 * @param {string | null | undefined} [origin]935 * @returns {VFileMessage}936 *937 * @overload938 * @param {Error | VFileMessage} cause939 * @param {Node | NodeLike | null | undefined} parent940 * @param {string | null | undefined} [origin]941 * @returns {VFileMessage}942 *943 * @overload944 * @param {Error | VFileMessage} cause945 * @param {Point | Position | null | undefined} place946 * @param {string | null | undefined} [origin]947 * @returns {VFileMessage}948 *949 * @overload950 * @param {Error | VFileMessage} cause951 * @param {string | null | undefined} [origin]952 * @returns {VFileMessage}953 *954 * @param {Error | VFileMessage | string} causeOrReason955 * Reason for message, should use markdown.956 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]957 * Configuration (optional).958 * @param {string | null | undefined} [origin]959 * Place in code where the message originates (example:960 * `'my-package:my-rule'` or `'my-rule'`).961 * @returns {VFileMessage}962 * Message.963 */964 info(cause: Error | VFileMessage, place: Point | Position | null | undefined, origin?: string | null | undefined): VFileMessage;965 /**966 * Create an info message for `reason` associated with the file.967 *968 * The `fatal` field of the message is set to `undefined` (info; change969 * likely not needed) and the `file` field is set to the current file path.970 * The message is added to the `messages` field on `file`.971 *972 * > 🪦 **Note**: also has obsolete signatures.973 *974 * @overload975 * @param {string} reason976 * @param {MessageOptions | null | undefined} [options]977 * @returns {VFileMessage}978 *979 * @overload980 * @param {string} reason981 * @param {Node | NodeLike | null | undefined} parent982 * @param {string | null | undefined} [origin]983 * @returns {VFileMessage}984 *985 * @overload986 * @param {string} reason987 * @param {Point | Position | null | undefined} place988 * @param {string | null | undefined} [origin]989 * @returns {VFileMessage}990 *991 * @overload992 * @param {string} reason993 * @param {string | null | undefined} [origin]994 * @returns {VFileMessage}995 *996 * @overload997 * @param {Error | VFileMessage} cause998 * @param {Node | NodeLike | null | undefined} parent999 * @param {string | null | undefined} [origin]1000 * @returns {VFileMessage}1001 *1002 * @overload1003 * @param {Error | VFileMessage} cause1004 * @param {Point | Position | null | undefined} place1005 * @param {string | null | undefined} [origin]1006 * @returns {VFileMessage}1007 *1008 * @overload1009 * @param {Error | VFileMessage} cause1010 * @param {string | null | undefined} [origin]1011 * @returns {VFileMessage}1012 *1013 * @param {Error | VFileMessage | string} causeOrReason1014 * Reason for message, should use markdown.1015 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]1016 * Configuration (optional).1017 * @param {string | null | undefined} [origin]1018 * Place in code where the message originates (example:1019 * `'my-package:my-rule'` or `'my-rule'`).1020 * @returns {VFileMessage}1021 * Message.1022 */1023 info(cause: Error | VFileMessage, origin?: string | null | undefined): VFileMessage;1024 /**1025 * Create a message for `reason` associated with the file.1026 *1027 * The `fatal` field of the message is set to `false` (warning; change may be1028 * needed) and the `file` field is set to the current file path.1029 * The message is added to the `messages` field on `file`.1030 *1031 * > 🪦 **Note**: also has obsolete signatures.1032 *1033 * @overload1034 * @param {string} reason1035 * @param {MessageOptions | null | undefined} [options]1036 * @returns {VFileMessage}1037 *1038 * @overload1039 * @param {string} reason1040 * @param {Node | NodeLike | null | undefined} parent1041 * @param {string | null | undefined} [origin]1042 * @returns {VFileMessage}1043 *1044 * @overload1045 * @param {string} reason1046 * @param {Point | Position | null | undefined} place1047 * @param {string | null | undefined} [origin]1048 * @returns {VFileMessage}1049 *1050 * @overload1051 * @param {string} reason1052 * @param {string | null | undefined} [origin]1053 * @returns {VFileMessage}1054 *1055 * @overload1056 * @param {Error | VFileMessage} cause1057 * @param {Node | NodeLike | null | undefined} parent1058 * @param {string | null | undefined} [origin]1059 * @returns {VFileMessage}1060 *1061 * @overload1062 * @param {Error | VFileMessage} cause1063 * @param {Point | Position | null | undefined} place1064 * @param {string | null | undefined} [origin]1065 * @returns {VFileMessage}1066 *1067 * @overload1068 * @param {Error | VFileMessage} cause1069 * @param {string | null | undefined} [origin]1070 * @returns {VFileMessage}1071 *1072 * @param {Error | VFileMessage | string} causeOrReason1073 * Reason for message, should use markdown.1074 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]1075 * Configuration (optional).1076 * @param {string | null | undefined} [origin]1077 * Place in code where the message originates (example:1078 * `'my-package:my-rule'` or `'my-rule'`).1079 * @returns {VFileMessage}1080 * Message.1081 */1082 message(reason: string, options?: MessageOptions | null | undefined): VFileMessage;1083 /**1084 * Create a message for `reason` associated with the file.1085 *1086 * The `fatal` field of the message is set to `false` (warning; change may be1087 * needed) and the `file` field is set to the current file path.1088 * The message is added to the `messages` field on `file`.1089 *1090 * > 🪦 **Note**: also has obsolete signatures.1091 *1092 * @overload1093 * @param {string} reason1094 * @param {MessageOptions | null | undefined} [options]1095 * @returns {VFileMessage}1096 *1097 * @overload1098 * @param {string} reason1099 * @param {Node | NodeLike | null | undefined} parent1100 * @param {string | null | undefined} [origin]1101 * @returns {VFileMessage}1102 *1103 * @overload1104 * @param {string} reason1105 * @param {Point | Position | null | undefined} place1106 * @param {string | null | undefined} [origin]1107 * @returns {VFileMessage}1108 *1109 * @overload1110 * @param {string} reason1111 * @param {string | null | undefined} [origin]1112 * @returns {VFileMessage}1113 *1114 * @overload1115 * @param {Error | VFileMessage} cause1116 * @param {Node | NodeLike | null | undefined} parent1117 * @param {string | null | undefined} [origin]1118 * @returns {VFileMessage}1119 *1120 * @overload1121 * @param {Error | VFileMessage} cause1122 * @param {Point | Position | null | undefined} place1123 * @param {string | null | undefined} [origin]1124 * @returns {VFileMessage}1125 *1126 * @overload1127 * @param {Error | VFileMessage} cause1128 * @param {string | null | undefined} [origin]1129 * @returns {VFileMessage}1130 *1131 * @param {Error | VFileMessage | string} causeOrReason1132 * Reason for message, should use markdown.1133 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]1134 * Configuration (optional).1135 * @param {string | null | undefined} [origin]1136 * Place in code where the message originates (example:1137 * `'my-package:my-rule'` or `'my-rule'`).1138 * @returns {VFileMessage}1139 * Message.1140 */1141 message(reason: string, parent: Node | NodeLike | null | undefined, origin?: string | null | undefined): VFileMessage;1142 /**1143 * Create a message for `reason` associated with the file.1144 *1145 * The `fatal` field of the message is set to `false` (warning; change may be1146 * needed) and the `file` field is set to the current file path.1147 * The message is added to the `messages` field on `file`.1148 *1149 * > 🪦 **Note**: also has obsolete signatures.1150 *1151 * @overload1152 * @param {string} reason1153 * @param {MessageOptions | null | undefined} [options]1154 * @returns {VFileMessage}1155 *1156 * @overload1157 * @param {string} reason1158 * @param {Node | NodeLike | null | undefined} parent1159 * @param {string | null | undefined} [origin]1160 * @returns {VFileMessage}1161 *1162 * @overload1163 * @param {string} reason1164 * @param {Point | Position | null | undefined} place1165 * @param {string | null | undefined} [origin]1166 * @returns {VFileMessage}1167 *1168 * @overload1169 * @param {string} reason1170 * @param {string | null | undefined} [origin]1171 * @returns {VFileMessage}1172 *1173 * @overload1174 * @param {Error | VFileMessage} cause1175 * @param {Node | NodeLike | null | undefined} parent1176 * @param {string | null | undefined} [origin]1177 * @returns {VFileMessage}1178 *1179 * @overload1180 * @param {Error | VFileMessage} cause1181 * @param {Point | Position | null | undefined} place1182 * @param {string | null | undefined} [origin]1183 * @returns {VFileMessage}1184 *1185 * @overload1186 * @param {Error | VFileMessage} cause1187 * @param {string | null | undefined} [origin]1188 * @returns {VFileMessage}1189 *1190 * @param {Error | VFileMessage | string} causeOrReason1191 * Reason for message, should use markdown.1192 * @param {Node | NodeLike | MessageOptions | Point | Position | string | null | undefined} [optionsOrParentOrPlace]1193 * Configuration (optional).1194 * @param {string | null | undefined} [origin]1195 * Place in code where the message originates (example:1196 * `'my-package:my-rule'` or `'my-rule'`).1197 * @returns {VFileMessage}1198 * Message.1199 */1200 message(reason: string, place: Point | Position | null | undefined, origin?: string | null | undefined): VFileMessage;