Forked from hermes-frontend, stripped openclaw/bun specifics: - Auth tokens: openclaw_session -> nyx_session - Vite proxy: localhost:3003 -> localhost:8000 (assay) - Prod WS: wss://assay.loop42.de/ws - Workspace paths: removed openclaw-specific paths - Added missing deps: @heroicons/vue, overlayscrollbars-vue - Branding: title -> nyx Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
1.1 KiB
TypeScript
30 lines
1.1 KiB
TypeScript
import type { Document } from '../doc/Document';
|
|
import type { FlowScalar } from '../parse/cst';
|
|
import type { StringifyContext } from '../stringify/stringify';
|
|
import type { Range } from './Node';
|
|
import { NodeBase } from './Node';
|
|
import type { Scalar } from './Scalar';
|
|
import type { ToJSContext } from './toJS';
|
|
import type { YAMLMap } from './YAMLMap';
|
|
import type { YAMLSeq } from './YAMLSeq';
|
|
export declare namespace Alias {
|
|
interface Parsed extends Alias {
|
|
range: Range;
|
|
srcToken?: FlowScalar & {
|
|
type: 'alias';
|
|
};
|
|
}
|
|
}
|
|
export declare class Alias extends NodeBase {
|
|
source: string;
|
|
anchor?: never;
|
|
constructor(source: string);
|
|
/**
|
|
* Resolve the value of this alias within `doc`, finding the last
|
|
* instance of the `source` anchor before this node.
|
|
*/
|
|
resolve(doc: Document, ctx?: ToJSContext): Scalar | YAMLMap | YAMLSeq | undefined;
|
|
toJSON(_arg?: unknown, ctx?: ToJSContext): unknown;
|
|
toString(ctx?: StringifyContext, _onComment?: () => void, _onChompKeep?: () => void): string;
|
|
}
|