persona-community-5/.pnpm-store/v3/files/82/58dea7cd61597c6719d1215b0edab38f82d719b7bba531c6ce1dde084382c40428485dca2d68473777abd5510bcdb0b41069402ceefd1933fa6f8304e44355
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

23 lines
987 B
Plaintext

import * as yamlAst from 'yaml-ast-parser';
import type { LineColLocationObject, LocationObject } from '../walk';
type YAMLMapping = yamlAst.YAMLMapping & {
kind: yamlAst.Kind.MAPPING;
};
type YAMLMap = yamlAst.YamlMap & {
kind: yamlAst.Kind.MAP;
};
type YAMLAnchorReference = yamlAst.YAMLAnchorReference & {
kind: yamlAst.Kind.ANCHOR_REF;
};
type YAMLSequence = yamlAst.YAMLSequence & {
kind: yamlAst.Kind.SEQ;
};
type YAMLScalar = yamlAst.YAMLScalar & {
kind: yamlAst.Kind.SCALAR;
};
type YAMLNode = YAMLMapping | YAMLMap | YAMLAnchorReference | YAMLSequence | YAMLScalar;
export declare function getCodeframe(location: LineColLocationObject, color: boolean): string;
export declare function getLineColLocation(location: LocationObject): LineColLocationObject;
export declare function getAstNodeByPointer(root: YAMLNode, pointer: string, reportOnKey: boolean): YAMLMapping | YAMLMap | YAMLAnchorReference | YAMLSequence | yamlAst.YAMLScalar | undefined;
export {};