import { OrbitalSchema } from '@almadar/core/types';

/**
 * Exports Reader
 *
 * Provides programmatic access to golden behaviors.
 * Uses behavior functions from ./functions/ instead of reading .orb files from disk.
 * This makes the package work in bundled environments (no filesystem access for package data).
 *
 * @packageDocumentation
 */

type BehaviorLevel = 'atoms' | 'molecules' | 'organisms';
declare function getAllBehaviorNames(): string[];
declare function getAllBehaviors(): OrbitalSchema[];
declare function getBehaviorsByLevel(level: BehaviorLevel): OrbitalSchema[];
declare function loadGoldenOrb(behaviorName: string): OrbitalSchema | null;
declare function hasGoldenOrb(behaviorName: string): boolean;
declare function getBehavior(behaviorName: string): OrbitalSchema | null;

export { type BehaviorLevel, getAllBehaviorNames, getAllBehaviors, getBehavior, getBehaviorsByLevel, hasGoldenOrb, loadGoldenOrb };
