/** * `SkillKit` — browser stub. * * The Node version walks the filesystem to compute snapshots + hashes, * which has no browser equivalent. Type surface preserved so consumers' * `import { SkillKit } from '@qodo/sdk/testing'` resolves in both * environments; runtime calls reject with a clear message. */ import type { SkillSource } from '../types.js'; export interface SkillKitOptions { readonly sources?: readonly SkillSource[]; readonly trustedSources?: readonly string[]; readonly embedder?: unknown; readonly sdkVersion?: string; } export interface SkillKitValidationIssue { readonly fqn: string | null; readonly file: string | null; readonly severity: 'error' | 'warning' | 'info'; readonly message: string; } export interface SkillKitSnapshot { readonly fqn: string; readonly vendor: string; readonly name: string; readonly version: string; readonly description?: string; readonly when_to_use?: string; readonly trustTier: 'trusted' | 'operator' | 'third-party'; readonly requires: readonly string[]; readonly allowedTools: readonly { readonly tool: string; readonly args?: string; }[]; readonly bodySha256: string; readonly files: readonly { readonly path: string; readonly sha256: string; }[]; } export interface SkillKitActivationCandidate { readonly fqn: string; readonly score: number; readonly source: 'embedding' | 'keyword'; } export interface SkillKitDiff { readonly fqn: string; readonly status: 'unchanged' | 'description_changed' | 'body_changed' | 'references_changed' | 'removed' | 'added'; readonly details?: string; } export declare class SkillKit { constructor(_options?: SkillKitOptions); get internalManager(): unknown; list(): Promise; get(): Promise; validate(): Promise; snapshot(): Promise; testActivation(): Promise; diff(): Promise; hash(): Promise; } //# sourceMappingURL=SkillKit.browser.d.ts.map