Urara-Blog/node_modules/.pnpm-store/v3/files/98/40aa5202e7011f3f0add2cd622f81ab47765496aee6f86c89f66ec6f185f50882a23bd2661c5d489540cae8e97472175cf9d0b530725cff3a599a78a8bef32
2022-08-14 01:14:53 +08:00

35 lines
957 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* @typedef {import('unist').Point} Point
* @typedef {import('unist').Node} Node
* @typedef {import('unist').Position} Position
* @typedef {object & {type: string, position?: Position|undefined}} NodeLike
*/
/**
* Stringify one point, a position (start and end points), or a nodes
* positional information.
*
* @param {Node|NodeLike|Position|Point|null} [value]
* @returns {string}
*/
export function stringifyPosition(
value?:
| import('unist').Point
| import('unist').Node<import('unist').Data>
| import('unist').Position
| NodeLike
| null
| undefined
): string
export type Point = import('unist').Point
export type Node = import('unist').Node
export type Position = import('unist').Position
export type NodeLike = object & {
type: string
position?: Position | undefined
}
/**
* @param {Position|undefined} pos
* @returns {string}
*/
declare function position(pos: Position | undefined): string
export {}