import { a as StdModule, S as StdOperatorMeta } from './types-D7dG8fBF.js';
export { B as BasicReturnType, b as OPERATOR_CATEGORIES, c as OperatorCategory, d as OperatorEffectMeta, O as OperatorMeta, e as OperatorTypeRef, f as STD_MODULES, g as STD_OPERATOR_CATEGORIES, h as StdOperatorCategory, i as getFunctionFromOperator, j as getModuleFromOperator, k as isStdCategory, l as isStdOperator, m as makeStdOperator } from './types-D7dG8fBF.js';
export { STD_OPERATORS as OPERATORS, OPERATOR_NAMES, STD_OPERATORS, STD_OPERATORS_BY_MODULE, getAllStdOperators as getAllOperatorNames, getAllStdOperators, getLambdaOperators, getModuleOperators, getOperatorMetaExtended, getStdEffectOperators, getStdLibStats, getStdOperatorMeta, getStdOperatorsByModule, getStdPureOperators, isEffectOperatorExtended, isKnownStdOperator as isKnownOperator, isKnownOperatorExtended, isKnownStdOperator, isStdEffectOperator, isStdGuardOperator, validateStdOperatorArity as validateOperatorArity, validateOperatorArityExtended, validateStdOperatorArity } from './registry.js';
export { CORE_OPERATORS, getCoreOperators } from './modules/core.js';
export { MATH_OPERATORS } from './modules/math.js';
export { STR_OPERATORS } from './modules/str.js';
export { ARRAY_OPERATORS } from './modules/array.js';
export { OBJECT_OPERATORS } from './modules/object.js';
export { TIME_OPERATORS } from './modules/time.js';
export { VALIDATE_OPERATORS } from './modules/validate.js';
export { FORMAT_OPERATORS } from './modules/format.js';
export { ASYNC_OPERATORS } from './modules/async.js';
import { BehaviorTrait } from './behaviors/types.js';
export { BehaviorMetadata, ItemAction, getBehaviorMetadata, validateBehaviorEvents, validateBehaviorStates, validateBehaviorStructure } from './behaviors/types.js';
export { BehaviorLevel, getAllBehaviorNames, getAllBehaviors, getBehaviorsByLevel, hasGoldenOrb, loadGoldenOrb } from './behaviors/exports-reader.js';
export { BehaviorSummary, RegistryEntry, getBehaviorRegistry, getBehaviorSummary, getBehaviorsByDomain, getBehaviorsByOperations, searchBehaviors } from './behaviors/query.js';
export { StdAgentActivityLogParams, StdAgentAssistantParams, StdAgentBuilderParams, StdAgentChatThreadParams, StdAgentClassifierParams, StdAgentCompletionParams, StdAgentContextWindowParams, StdAgentConversationParams, StdAgentFixLoopParams, StdAgentLearnerParams, StdAgentMemoryParams, StdAgentPipelineParams, StdAgentPlannerParams, StdAgentProviderParams, StdAgentRagParams, StdAgentReviewerParams, StdAgentSearchParams, StdAgentSessionParams, StdAgentStepProgressParams, StdAgentTokenGaugeParams, StdAgentToolCallParams, StdAgentToolLoopParams, StdAgentTutorParams, StdApiGatewayParams, StdArcadeGameParams, StdAutoregressiveParams, StdBookingSystemParams, StdBrowseParams, StdCacheAsideParams, StdCalendarParams, StdCartParams, StdCheckpointParams, StdCicdPipelineParams, StdCircuitBreakerParams, StdClassifierParams, StdCmsParams, StdCodingAcademyParams, StdCollisionParams, StdCombatParams, StdConfirmationParams, StdCrmParams, StdDataCollectorParams, StdDevopsDashboardParams, StdDialogueBoxParams, StdDisplayParams, StdDrawerParams, StdEcommerceParams, StdEvaluateParams, StdExperimentTrackerParams, StdFilterParams, StdFilteredListParams, StdFinanceTrackerParams, StdFormAdvancedParams, StdForwardParams, StdGalleryParams, StdGameCanvas2dParams, StdGameflowParams, StdGanParams, StdGraphBuilderParams, StdGraphClassifierParams, StdHealthcareParams, StdHelpdeskParams, StdHrPortalParams, StdIotDashboardParams, StdListParams, StdLmsParams, StdLogicTrainingParams, StdModalParams, StdModelServingParams, StdMovementParams, StdOverworldParams, StdPaginationParams, StdPhysics2dParams, StdPlatformerAppParams, StdProjectManagerParams, StdPushParams, StdPuzzleAppParams, StdQuestParams, StdRateLimiterParams, StdRealtimeChatParams, StdRelatedParams, StdRlAgentParams, StdRlEnvironmentParams, StdRpgGameParams, StdSearchParams, StdSelectionParams, StdServiceCustomBearerParams, StdServiceEmailParams, StdServiceGithubParams, StdServiceLlmParams, StdServiceMarketplaceParams, StdServiceOauthParams, StdServiceRedisParams, StdServiceResearchAssistantParams, StdServiceStorageParams, StdServiceStripeParams, StdServiceTwilioParams, StdServiceYoutubeParams, StdSocialFeedParams, StdStemLabParams, StdStrategyGameParams, StdSupervisedPipelineParams, StdTabsParams, StdTextClassifierParams, StdTimerParams, StdTokenizerParams, StdTradingDashboardParams, StdTrainLoopParams, StdTrainerParams, StdWeightValidatorParams, StdWizardFormParams, stdAgentActivityLog, stdAgentActivityLogPage, stdAgentActivityLogTrait, stdAgentAssistant, stdAgentAssistantAssistantAgentTrait, stdAgentAssistantAssistantConversationTrait, stdAgentAssistantPage, stdAgentBuilder, stdAgentBuilderBuildPlannerTrait, stdAgentBuilderPage, stdAgentBuilderPlannerClassifierFlowTrait, stdAgentBuilderPlannerCompletionFlowTrait, stdAgentBuilderPlannerMemoryLifecycleTrait, stdAgentBuilderPlannerTaskInputTrait, stdAgentChatThread, stdAgentChatThreadPage, stdAgentChatThreadTrait, stdAgentClassifier, stdAgentClassifierAgentClassifierAgentTrait, stdAgentClassifierAgentClassifierModalTrait, stdAgentClassifierAgentClassifierNotificationTrait, stdAgentClassifierPage, stdAgentCompletion, stdAgentCompletionAgentCompletionAgentTrait, stdAgentCompletionAgentCompletionModalTrait, stdAgentCompletionAgentCompletionNotificationTrait, stdAgentCompletionPage, stdAgentContextWindow, stdAgentContextWindowAgentContextWindowAgentTrait, stdAgentContextWindowAgentContextWindowGaugeTrait, stdAgentContextWindowAgentContextWindowNotificationTrait, stdAgentContextWindowPage, stdAgentConversation, stdAgentConversationAgentConversationAgentTrait, stdAgentConversationAgentConversationThreadTrait, stdAgentConversationPage, stdAgentFixLoop, stdAgentFixLoopAgentFixLoopCycleTrait, stdAgentFixLoopFixLoopCompletionFlowTrait, stdAgentFixLoopFixLoopErrorsBrowseTrait, stdAgentFixLoopFixLoopFixCallTrait, stdAgentFixLoopFixLoopStepProgressTrait, stdAgentFixLoopFixLoopValidateCallTrait, stdAgentFixLoopPage, stdAgentLearner, stdAgentLearnerAgentLearnerLearnerTrait, stdAgentLearnerLearnerCompletionFlowTrait, stdAgentLearnerLearnerMemoryLifecycleTrait, stdAgentLearnerLearnerProviderManagerTrait, stdAgentLearnerLearnerRecordsBrowseTrait, stdAgentLearnerPage, stdAgentMemory, stdAgentMemoryAgentMemoryAgentTrait, stdAgentMemoryAgentMemoryBrowseTrait, stdAgentMemoryAgentMemoryCreateTrait, stdAgentMemoryPage, stdAgentPipeline, stdAgentPipelinePage, stdAgentPipelinePipelinePlannerTrait, stdAgentPipelinePlannerClassifierFlowTrait, stdAgentPipelinePlannerCompletionFlowTrait, stdAgentPipelinePlannerMemoryLifecycleTrait, stdAgentPipelinePlannerTaskInputTrait, stdAgentPlanner, stdAgentPlannerAgentPlannerPlannerTrait, stdAgentPlannerPage, stdAgentPlannerPlannerClassifierFlowTrait, stdAgentPlannerPlannerCompletionFlowTrait, stdAgentPlannerPlannerMemoryLifecycleTrait, stdAgentPlannerPlannerTaskInputTrait, stdAgentProvider, stdAgentProviderAgentProviderAgentTrait, stdAgentProviderAgentProviderModalTrait, stdAgentProviderAgentProviderNotificationTrait, stdAgentProviderPage, stdAgentRag, stdAgentRagAgentRagRagTrait, stdAgentRagPage, stdAgentRagRagCompletionFlowTrait, stdAgentRagRagMemoryLifecycleTrait, stdAgentRagRagSearchLifecycleTrait, stdAgentRagRagTabsTrait, stdAgentReviewer, stdAgentReviewerPage, stdAgentReviewerTrait, stdAgentSearch, stdAgentSearchAgentSearchAgentTrait, stdAgentSearchAgentSearchBrowseTrait, stdAgentSearchPage, stdAgentSession, stdAgentSessionAgentSessionAgentTrait, stdAgentSessionAgentSessionBrowseTrait, stdAgentSessionAgentSessionLabelTrait, stdAgentSessionPage, stdAgentStepProgress, stdAgentStepProgressPage, stdAgentStepProgressTrait, stdAgentTokenGauge, stdAgentTokenGaugePage, stdAgentTokenGaugeTrait, stdAgentToolCall, stdAgentToolCallAgentToolCallAgentTrait, stdAgentToolCallAgentToolCallModalTrait, stdAgentToolCallPage, stdAgentToolLoop, stdAgentToolLoopAgentToolLoopLoopTrait, stdAgentToolLoopPage, stdAgentToolLoopToolLoopCompletionFlowTrait, stdAgentToolLoopToolLoopContextMonitorTrait, stdAgentToolLoopToolLoopStepProgressTrait, stdAgentToolLoopToolLoopToolCallFlowTrait, stdAgentTutor, stdAgentTutorPage, stdAgentTutorTrait, stdApiGateway, stdApiGatewayPage, stdApiGatewayRouteBrowseTrait, stdApiGatewayRouteCreateTrait, stdApiGatewayRouteDeleteTrait, stdApiGatewayRouteEditTrait, stdApiGatewayRouteViewTrait, stdArcadeGame, stdArcadeGamePage, stdArcadeGameTrait, stdAutoregressive, stdAutoregressiveEntity, stdAutoregressivePage, stdAutoregressiveTrait, stdBookingSystem, stdBookingSystemPage, stdBookingSystemProviderBrowseTrait, stdBookingSystemProviderCreateTrait, stdBookingSystemProviderDeleteTrait, stdBookingSystemProviderEditTrait, stdBookingSystemProviderViewTrait, stdBrowse, stdBrowsePage, stdBrowseTrait, stdCacheAside, stdCacheAsidePage, stdCacheAsideTrait, stdCalendar, stdCalendarPage, stdCalendarTrait, stdCart, stdCartCartItemAddItemTrait, stdCartCartItemCartBrowseTrait, stdCartCartItemPersistorTrait, stdCartCartItemRemoveConfirmTrait, stdCartPage, stdCheckpoint, stdCheckpointEntity, stdCheckpointPage, stdCheckpointTrait, stdCicdPipeline, stdCicdPipelineBuildBrowseTrait, stdCicdPipelineBuildCreateTrait, stdCicdPipelineBuildDeleteTrait, stdCicdPipelineBuildEditTrait, stdCicdPipelineBuildViewTrait, stdCicdPipelinePage, stdCircuitBreaker, stdCircuitBreakerPage, stdCircuitBreakerTrait, stdClassifier, stdClassifierEntity, stdClassifierPage, stdClassifierTrait, stdCms, stdCmsArticleBrowseTrait, stdCmsArticleCreateTrait, stdCmsArticleDeleteTrait, stdCmsArticleEditTrait, stdCmsArticleViewTrait, stdCmsPage, stdCodingAcademy, stdCodingAcademyPage, stdCodingAcademyTrait, stdCollision, stdCollisionPage, stdCollisionTrait, stdCombat, stdCombatPage, stdCombatTrait, stdConfirmation, stdConfirmationPage, stdConfirmationTrait, stdCrm, stdCrmContactBrowseTrait, stdCrmContactCreateTrait, stdCrmContactDeleteTrait, stdCrmContactEditTrait, stdCrmContactViewTrait, stdCrmPage, stdDataCollector, stdDataCollectorEntity, stdDataCollectorPage, stdDataCollectorTrait, stdDevopsDashboard, stdDevopsDashboardPage, stdDevopsDashboardTrait, stdDialogueBox, stdDialogueBoxPage, stdDialogueBoxTrait, stdDisplay, stdDisplayPage, stdDisplayTrait, stdDrawer, stdDrawerPage, stdDrawerTrait, stdEcommerce, stdEcommercePage, stdEcommerceProductBrowseTrait, stdEcommerceProductCreateTrait, stdEcommerceProductDeleteTrait, stdEcommerceProductEditTrait, stdEcommerceProductViewTrait, stdEvaluate, stdEvaluateEntity, stdEvaluatePage, stdEvaluateTrait, stdExperimentTracker, stdFilter, stdFilterPage, stdFilterTrait, stdFilteredList, stdFilteredListFilteredItemBrowseTrait, stdFilteredListFilteredItemFilterTrait, stdFilteredListFilteredItemPaginationTrait, stdFilteredListFilteredItemSearchTrait, stdFilteredListFilteredListLayoutTrait, stdFilteredListPage, stdFinanceTracker, stdFinanceTrackerPage, stdFinanceTrackerTransactionBrowseTrait, stdFinanceTrackerTransactionCreateTrait, stdFinanceTrackerTransactionDeleteTrait, stdFinanceTrackerTransactionEditTrait, stdFinanceTrackerTransactionViewTrait, stdFormAdvanced, stdFormAdvancedPage, stdFormAdvancedTrait, stdForward, stdForwardEntity, stdForwardPage, stdForwardTrait, stdGallery, stdGalleryPage, stdGalleryTrait, stdGameCanvas2d, stdGameCanvas2dPage, stdGameCanvas2dTrait, stdGameflow, stdGameflowPage, stdGameflowTrait, stdGan, stdGraphBuilder, stdGraphBuilderEntity, stdGraphBuilderPage, stdGraphBuilderTrait, stdGraphClassifier, stdGraphClassifierEntity, stdGraphClassifierPage, stdGraphClassifierTrait, stdHealthcare, stdHealthcarePage, stdHealthcarePatientBrowseTrait, stdHealthcarePatientCreateTrait, stdHealthcarePatientDeleteTrait, stdHealthcarePatientEditTrait, stdHealthcarePatientViewTrait, stdHelpdesk, stdHelpdeskPage, stdHelpdeskTicketBrowseTrait, stdHelpdeskTicketCreateTrait, stdHelpdeskTicketDeleteTrait, stdHelpdeskTicketEditTrait, stdHelpdeskTicketViewTrait, stdHrPortal, stdHrPortalEmployeeBrowseTrait, stdHrPortalEmployeeCreateTrait, stdHrPortalEmployeeDeleteTrait, stdHrPortalEmployeeEditTrait, stdHrPortalEmployeeViewTrait, stdHrPortalPage, stdIotDashboard, stdIotDashboardPage, stdIotDashboardTrait, stdList, stdListListItemBrowseTrait, stdListListItemCreateTrait, stdListListItemDeleteTrait, stdListListItemEditTrait, stdListListItemPersistorTrait, stdListPage, stdLms, stdLmsCourseBrowseTrait, stdLmsCourseCreateTrait, stdLmsCourseDeleteTrait, stdLmsCourseEditTrait, stdLmsCourseViewTrait, stdLmsPage, stdLogicTraining, stdLogicTrainingPage, stdLogicTrainingTrait, stdModal, stdModalPage, stdModalTrait, stdModelServing, stdMovement, stdMovementPage, stdMovementTrait, stdOverworld, stdOverworldPage, stdOverworldTrait, stdPagination, stdPaginationPage, stdPaginationTrait, stdPhysics2d, stdPhysics2dPage, stdPhysics2dTrait, stdPlatformerApp, stdPlatformerAppPage, stdPlatformerAppPlatLevelPlatformerCanvasTrait, stdPlatformerAppPlatLevelPlatformerFlowTrait, stdProjectManager, stdProjectManagerPage, stdProjectManagerTaskBrowseTrait, stdProjectManagerTaskCreateTrait, stdProjectManagerTaskDeleteTrait, stdProjectManagerTaskEditTrait, stdProjectManagerTaskViewTrait, stdPush, stdPushPage, stdPushTrait, stdPuzzleApp, stdPuzzleAppPage, stdPuzzleAppPuzzleLevelPuzzleFlowTrait, stdPuzzleAppPuzzleLevelPuzzleScoreTrait, stdQuest, stdQuestPage, stdQuestTrait, stdRateLimiter, stdRateLimiterPage, stdRateLimiterTrait, stdRealtimeChat, stdRealtimeChatChatMessageBrowseTrait, stdRealtimeChatChatMessageComposeTrait, stdRealtimeChatChatMessageViewTrait, stdRealtimeChatPage, stdRelated, stdRelatedPage, stdRelatedTrait, stdRlAgent, stdRlAgentEntity, stdRlAgentPage, stdRlAgentTrait, stdRlEnvironment, stdRpgGame, stdRpgGameBattleStateBattleFlowTrait, stdRpgGameBattleStateCombatLogTrait, stdRpgGamePage, stdSearch, stdSearchPage, stdSearchTrait, stdSelection, stdSelectionPage, stdSelectionTrait, stdServiceCustomBearer, stdServiceCustomBearerPage, stdServiceCustomBearerTrait, stdServiceEmail, stdServiceEmailPage, stdServiceEmailTrait, stdServiceGithub, stdServiceGithubPage, stdServiceGithubTrait, stdServiceLlm, stdServiceLlmPage, stdServiceLlmTrait, stdServiceMarketplace, stdServiceMarketplacePage, stdServiceMarketplaceProductBrowseTrait, stdServiceMarketplaceProductCreateTrait, stdServiceMarketplaceProductDeleteTrait, stdServiceMarketplaceProductEditTrait, stdServiceMarketplaceProductViewTrait, stdServiceOauth, stdServiceOauthPage, stdServiceOauthTrait, stdServiceRedis, stdServiceRedisPage, stdServiceRedisTrait, stdServiceResearchAssistant, stdServiceResearchAssistantPage, stdServiceResearchAssistantTrait, stdServiceStorage, stdServiceStoragePage, stdServiceStorageTrait, stdServiceStripe, stdServiceStripePage, stdServiceStripeTrait, stdServiceTwilio, stdServiceTwilioPage, stdServiceTwilioTrait, stdServiceYoutube, stdServiceYoutubePage, stdServiceYoutubeTrait, stdSocialFeed, stdSocialFeedPage, stdSocialFeedPostBrowseTrait, stdSocialFeedPostCreateTrait, stdSocialFeedPostViewTrait, stdStemLab, stdStemLabPage, stdStemLabTrait, stdStrategyGame, stdStrategyGameArmyBattleBattleFlowTrait, stdStrategyGameArmyBattleCombatLogTrait, stdStrategyGamePage, stdSupervisedPipeline, stdTabs, stdTabsPage, stdTabsTrait, stdTextClassifier, stdTextClassifierEntity, stdTextClassifierPage, stdTextClassifierTrait, stdTimer, stdTimerPage, stdTimerTrait, stdTokenizer, stdTokenizerEntity, stdTokenizerPage, stdTokenizerTrait, stdTradingDashboard, stdTradingDashboardPage, stdTradingDashboardTrait, stdTrainLoop, stdTrainLoopEntity, stdTrainLoopPage, stdTrainLoopTrait, stdTrainer, stdTrainerEntity, stdTrainerPage, stdTrainerTrait, stdWeightValidator, stdWeightValidatorEntity, stdWeightValidatorPage, stdWeightValidatorTrait, stdWizardForm, stdWizardFormPage, stdWizardFormTrait } from './behaviors/functions/index.js';
export { compose, connect, ensureIdField, extractTrait, makeEntity, makeOrbital, makePage, makeSchema, mergeOrbitals, pipe, plural, wire } from '@almadar/core/builders';
import { TraitReference } from '@almadar/core/types';
export { Event, State, StateMachine, Trait, TraitCategory, TraitDataEntity, TraitEntityField, TraitTick, Transition } from '@almadar/core/types';

/**
 * Explode Behavior Composition
 *
 * Human-authoring primitive (Phase 5.3 of Almadar_Agent_Behaviors_Plan).
 *
 * Returns the flat list of `TraitReference` objects a behavior is
 * composed from. For molecules/organisms with `uses:` imports, walks the
 * orbital's `traits:` array and filters for `TraitReference` entries
 * (skipping inline trait definitions). For leaf atoms (no composition),
 * returns a single synthetic `TraitReference` pointing at the atom's own
 * trait so consumers always get a non-empty array.
 *
 * **Not exposed to the agent or LLM** — this is for developers designing
 * new molecules or debugging compositions. The plan's §6a.3 explicitly
 * scopes it as human tooling.
 *
 * Implementation notes:
 * - Reads behaviors via the bundled `./functions/index.js` factories (same
 *   approach as `exports-reader.ts`). No filesystem access, no coupling
 *   to sibling packages — just calling functions that already exist in
 *   this package.
 * - `TraitReference.from` is backfilled from the orbital's `uses:` header
 *   when the call-site omitted it but the `ref:` uses an imported alias.
 *
 * @packageDocumentation
 */

/**
 * Flatten a behavior's composition into the list of `TraitReference`
 * objects it's built from.
 *
 * For composed behaviors (molecules, organisms) this returns every
 * `TraitReference` entry from every orbital's `traits:` array, carrying
 * the call-site `ref`, backfilled `from` (looked up against the
 * orbital's `uses:` imports when omitted), `linkedEntity`, `events`,
 * `effects`, and any other override fields declared at the call site.
 *
 * For leaf atoms the function returns a single synthetic `TraitReference`
 * pointing at the atom's own trait, so consumers always get a non-empty
 * array.
 *
 * @param behaviorName - Registry name of the behavior (`"std-cart"`,
 *   `"std-browse"`, etc.).
 * @throws When the behavior isn't exported from `@almadar/std`.
 */
declare function explodeBehaviorComposition(behaviorName: string): TraitReference[];

/**
 * Standard Library Documentation Generator
 *
 * Generates documentation data from the std library source.
 * Parses modules and behaviors to produce structured JSON for docs.
 *
 * @packageDocumentation
 */

/**
 * Human-friendly module descriptions
 */
declare const MODULE_DESCRIPTIONS: Record<StdModule, ModuleInfo>;
declare const BEHAVIOR_CATEGORY_DESCRIPTIONS: {
    'ui-interaction': {
        name: string;
        description: string;
        icon: string;
    };
    'data-management': {
        name: string;
        description: string;
        icon: string;
    };
    async: {
        name: string;
        description: string;
        icon: string;
    };
    feedback: {
        name: string;
        description: string;
        icon: string;
    };
    'game-core': {
        name: string;
        description: string;
        icon: string;
    };
    'game-entity': {
        name: string;
        description: string;
        icon: string;
    };
    'game-ui': {
        name: string;
        description: string;
        icon: string;
    };
};
interface ModuleInfo {
    name: string;
    displayName: string;
    description: string;
    icon: string;
}
interface CategoryInfo {
    name: string;
    description: string;
    icon: string;
}
interface OperatorDoc {
    name: string;
    shortName: string;
    displayName: string;
    description: string;
    params: Array<{
        name: string;
        type: string;
        description: string;
        optional?: boolean;
        defaultValue?: unknown;
    }>;
    example: string;
    returnType: string;
    returnTypeHuman: string;
    arityHuman: string;
    minArity: number;
    maxArity: number | null;
    hasSideEffects: boolean;
    acceptsLambda: boolean;
    pureFunction: boolean;
}
interface ModuleDoc {
    id: StdModule;
    name: string;
    displayName: string;
    description: string;
    icon: string;
    operators: OperatorDoc[];
    operatorCount: number;
}
interface BehaviorTransitionDoc {
    from: string | string[] | '*';
    to?: string;
    event: string;
    guard?: unknown;
    effects?: unknown[];
}
interface BehaviorStateMachineDoc {
    states: Array<{
        name: string;
        isInitial?: boolean;
        isFinal?: boolean;
    }>;
    transitions: BehaviorTransitionDoc[];
}
interface BehaviorDoc {
    name: string;
    shortName: string;
    description: string;
    suggestedFor?: string[];
    states: string[];
    statesCount: number;
    initial: string;
    events: string[];
    eventsCount: number;
    hasFields: boolean;
    hasComputed: boolean;
    hasTicks: boolean;
    ticksCount: number;
    transitionsCount: number;
    /** Full state machine data for visualizer */
    stateMachine?: BehaviorStateMachineDoc;
    /** Full behavior source code for display */
    sourceCode?: string;
    /** Data entities (runtime state) */
    dataEntities?: Array<{
        name: string;
        fields: Array<{
            name: string;
            type: string;
            default?: unknown;
        }>;
    }>;
    /** Ticks (frame-by-frame execution) */
    ticks?: Array<{
        name: string;
        interval: string | number;
        description?: string;
    }>;
}
interface CategoryDoc {
    id: string;
    name: string;
    description: string;
    icon: string;
    behaviors: BehaviorDoc[];
    behaviorCount: number;
}
interface DocsStats {
    totalModules: number;
    totalOperators: number;
    totalBehaviorCategories: number;
    totalBehaviors: number;
    generatedAt: string;
}
interface StdLibDocs {
    modules: ModuleDoc[];
    stats: DocsStats;
}
interface BehaviorsDocs {
    categories: CategoryDoc[];
    stats: DocsStats;
}
/**
 * Transform operator name to human-friendly format
 * e.g., "math/clamp" -> "Clamp Value"
 */
declare function humanizeOperatorName(operatorName: string): string;
/**
 * Transform return type to human-friendly format
 */
declare function humanizeReturnType(returnType: string | undefined): string;
/**
 * Format arity as human-readable text
 */
declare function formatArity(minArity: number, maxArity: number | null): string;
/**
 * Generate documentation for a single operator
 */
declare function generateOperatorDoc(opName: string, meta: StdOperatorMeta): OperatorDoc;
/**
 * Generate documentation for a single module
 */
declare function generateModuleDoc(moduleId: StdModule): ModuleDoc | null;
/**
 * Generate documentation for a single behavior
 */
declare function generateBehaviorDoc(behavior: BehaviorTrait): BehaviorDoc;
/**
 * Generate documentation for all std library modules
 */
declare function generateModulesDocs(): StdLibDocs;
declare function generateBehaviorsDocs(): BehaviorsDocs;
/**
 * Generate complete standard library documentation
 */
declare function generateStdLibDocs(): {
    modules: StdLibDocs;
    behaviors: BehaviorsDocs;
};

export { BEHAVIOR_CATEGORY_DESCRIPTIONS, type BehaviorDoc, BehaviorTrait, type BehaviorsDocs, type CategoryDoc, type CategoryInfo, type DocsStats, MODULE_DESCRIPTIONS, type ModuleDoc, type ModuleInfo, type OperatorDoc, type StdLibDocs, StdModule, StdOperatorMeta, explodeBehaviorComposition, formatArity, generateBehaviorDoc, generateBehaviorsDocs, generateModuleDoc, generateModulesDocs, generateOperatorDoc, generateStdLibDocs, humanizeOperatorName, humanizeReturnType };
