/** * Small helpers shared by the plugin runtime verification batteries — the * main package re-exports them from `@chatcode/cco-tui/test-utils` * so ecosystem plugin authors can write the same headless admission tests. * * Test-only surface, Experimental: helpers mount REAL cordis fibers and * drive the REAL admission path; nothing here is meant for production * plugin runtime code. */ import type { Context } from '@deepseek-ai/cordis'; export declare const sleep: (ms: number) => Promise; /** Build a minimal Community v0.15 manifest for an admitted test activation. */ export declare function testManifest(options: { id: string; requires?: readonly { apiVersion: string; kind: string; optional?: boolean; fallback?: string; }[]; permissions?: readonly { name: string; scope: string; reason?: string; }[]; subscriptions?: readonly (string | { apiVersion: string; kind: string; scope?: string; })[]; commands?: readonly { id: string; title?: string; description?: string; }[]; }): string; /** Mount one Cordis row and admit its Component before exposing its context. */ export declare function mountAdmitted(root: Context, name: string, manifestSource: string, source?: string, admissionOptions?: { activationId?: string; }): Promise<{ context: Context; fiber: { dispose(): unknown; }; }>; export declare const STORAGE_COORDINATE: { readonly apiVersion: "storage.dsh/v1alpha1"; readonly kind: "LocalStorage"; }; export declare const COMMAND_COORDINATE: { readonly apiVersion: "commands.dsh/v1alpha1"; readonly kind: "Command"; }; export declare const MESSAGE_COORDINATE: { readonly apiVersion: "messages.dsh/v1alpha1"; readonly kind: "MessageObserver"; }; export declare const DECISION_COORDINATE: { readonly apiVersion: "tui.dsh/v1alpha1"; readonly kind: "DecisionEvents"; }; //# sourceMappingURL=plugin-test-utils.d.ts.map