Files
hive/mcp-server/node_modules/yaml/dist/doc/directives.d.ts
anthonyrawlins e89f2f4b7b Add comprehensive development roadmap via GitHub Issues
Created 10 detailed GitHub issues covering:
- Project activation and management UI (#1-2)
- Worker node coordination and visualization (#3-4)
- Automated GitHub repository scanning (#5)
- Intelligent model-to-issue matching (#6)
- Multi-model task execution system (#7)
- N8N workflow integration (#8)
- Hive-Bzzz P2P bridge (#9)
- Peer assistance protocol (#10)

Each issue includes detailed specifications, acceptance criteria,
technical implementation notes, and dependency mapping.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-12 19:41:01 +10:00

50 lines
1.9 KiB
TypeScript

import type { Document } from './Document';
export declare class Directives {
static defaultYaml: Directives['yaml'];
static defaultTags: Directives['tags'];
yaml: {
version: '1.1' | '1.2' | 'next';
explicit?: boolean;
};
tags: Record<string, string>;
/**
* The directives-end/doc-start marker `---`. If `null`, a marker may still be
* included in the document's stringified representation.
*/
docStart: true | null;
/** The doc-end marker `...`. */
docEnd: boolean;
/**
* Used when parsing YAML 1.1, where:
* > If the document specifies no directives, it is parsed using the same
* > settings as the previous document. If the document does specify any
* > directives, all directives of previous documents, if any, are ignored.
*/
private atNextDocument?;
constructor(yaml?: Directives['yaml'], tags?: Directives['tags']);
clone(): Directives;
/**
* During parsing, get a Directives instance for the current document and
* update the stream state according to the current version's spec.
*/
atDocument(): Directives;
/**
* @param onError - May be called even if the action was successful
* @returns `true` on success
*/
add(line: string, onError: (offset: number, message: string, warning?: boolean) => void): boolean;
/**
* Resolves a tag, matching handles to those defined in %TAG directives.
*
* @returns Resolved tag, which may also be the non-specific tag `'!'` or a
* `'!local'` tag, or `null` if unresolvable.
*/
tagName(source: string, onError: (message: string) => void): string | null;
/**
* Given a fully resolved tag, returns its printable string form,
* taking into account current tag prefixes and defaults.
*/
tagString(tag: string): string;
toString(doc?: Document): string;
}