export * from './cross-ref'
export * from './schema'
export * from './snapshot-hash'
export * from './types'
export * from './ontology'
export * from './contracts'
export {
  ORGANIZATION_MODEL_ICON_TOKENS,
  OrganizationModelBuiltinIconTokenSchema,
  OrganizationModelIconTokenSchema
} from './icons'
export * from './defaults'
export * from './resolve'
export * from './foundation'
export * from './surface-projection'
export * from './helpers'
export * from './migration-helpers'
export * from './scaffolders'
export * from './graph'
export * from './catalogs/lead-gen'
export * from './domains/branding'
// Phase 4: OrganizationModelSalesSchema, OrganizationModelProspectingSchema,
// OrganizationModelProjectsSchema removed. Business-logic exports (StatefulPipelineDefinition,
// ProspectingBuildTemplateSchema, StatefulPipelineDefinition, etc.) still re-exported below.
export {
  SalesStageSemanticClassSchema,
  SalesStageSchema,
  SalesPipelineSchema,
  findPipeline,
  getValidStatesForStage
} from './domains/sales'
export type {
  StatefulStateDefinition,
  StatefulStageDefinition,
  StatefulPipelineDefinition,
  CrmPriorityBucketKey,
  CrmPriorityBucketDefinition,
  CrmPriorityRuleConfig,
  CrmNextActionMapping,
  CrmNextActionRuleConfig
} from './domains/sales'
export {
  ProspectingLifecycleStageSchema,
  RecordColumnConfigSchema,
  RecordColumnsConfigSchema,
  CredentialRequirementSchema,
  ProspectingBuildTemplateStepSchema,
  ProspectingBuildTemplateSchema,
  ACTION_REGISTRY,
  findActionById
} from './domains/prospecting'
export type {
  ListBuilderStep,
  RecordColumnConfig,
  CredentialRequirement,
  TemplateName,
  StepName,
  ActionRegistry
} from './domains/prospecting'
export { ProjectsDomainStateSchema } from './domains/projects'
export * from './domains/systems'
export * from './domains/resources'
export * from './domains/topology'
export {
  DEFAULT_ORGANIZATION_MODEL_NAVIGATION,
  getSortedSidebarEntries,
  NavigationGroupSchema,
  OrganizationModelNavigationSchema,
  SidebarNavigationSchema,
  SidebarNodeSchema,
  SidebarSectionSchema,
  SidebarSurfaceTargetsSchema,
  SurfaceDefinitionSchema,
  SurfaceTypeSchema
} from './domains/navigation'
export {
  defineEntity,
  defineEntities,
  EntitiesDomainSchema,
  EntityIdSchema,
  EntityLinkKindSchema,
  EntityLinkSchema,
  EntitySchema
} from './domains/entities'
export {
  defineKnowledgeNode,
  defineKnowledgeNodes,
  KnowledgeDomainSchema,
  KnowledgeLinkSchema,
  KnowledgeTargetKindSchema,
  KnowledgeTargetRefSchema,
  OrgKnowledgeKindSchema,
  OrgKnowledgeNodeSchema
} from './domains/knowledge'
export * from './domains/roles'
export * from './domains/identity'
export * from './domains/policies'
export {
  ActionsDomainSchema,
  ActionIdSchema,
  ActionInvocationKindSchema,
  ActionInvocationSchema,
  ActionRefSchema,
  ActionSchema,
  ActionScopeSchema,
  ApiEndpointInvocationSchema,
  DEFAULT_ORGANIZATION_MODEL_ACTIONS,
  defineAction,
  defineActions,
  findOrganizationActionById,
  McpToolInvocationSchema,
  ScriptExecutionInvocationSchema,
  SlashCommandInvocationSchema
} from './domains/actions'
export type {
  ActionsDomain,
  Action as OrganizationAction,
  ActionId,
  ActionInvocation,
  ActionInvocationKind,
  ActionRef,
  ActionScope
} from './domains/actions'
export {
  defineGoal,
  defineGoals,
  DEFAULT_ORGANIZATION_MODEL_GOALS,
  GoalsDomainSchema,
  KeyResultSchema,
  ObjectiveSchema
} from './domains/goals'
export type { GoalsDomain, KeyResult, Objective } from './domains/goals'
export {
  defineCustomer,
  defineCustomers,
  CustomerSegmentSchema,
  CustomersDomainSchema,
  DEFAULT_ORGANIZATION_MODEL_CUSTOMERS,
  FirmographicsSchema
} from './domains/customers'
export type { CustomerSegment, CustomersDomain, Firmographics } from './domains/customers'
export {
  defineOffering,
  defineOfferings,
  DEFAULT_ORGANIZATION_MODEL_OFFERINGS,
  OfferingsDomainSchema,
  PricingModelSchema,
  ProductSchema
} from './domains/offerings'
export type { OfferingsDomain, PricingModel, Product } from './domains/offerings'
export {
  defineStatus,
  defineStatuses,
  DEFAULT_ORGANIZATION_MODEL_STATUSES,
  StatusesDomainSchema,
  StatusEntrySchema,
  StatusSemanticClassSchema
} from './domains/statuses'
export type { StatusEntry, StatusesDomain, StatusSemanticClass } from './domains/statuses'
