export {
  DEFAULT_ONTOLOGY_SCOPE,
  OntologyActionTypeSchema,
  OntologyCatalogTypeSchema,
  OntologyEventTypeSchema,
  OntologyGroupSchema,
  OntologyIdSchema,
  OntologyInterfaceTypeSchema,
  OntologyKindSchema,
  OntologyLinkTypeSchema,
  OntologyObjectTypeSchema,
  OntologyScopeSchema,
  OntologySharedPropertySchema,
  OntologyEndpointTypeSchema,
  OntologyValueTypeSchema,
  compileOrganizationOntology,
  formatOntologyId,
  getOntologyDiagnostics,
  isOntologyGraphNodeId,
  listResolvedOntologyRecords,
  ontologyGraphNodeId,
  ontologyIdFromGraphNodeId,
  parseOntologyId
} from './ontology'
export {
  DEFAULT_ORGANIZATION_MODEL_DOMAIN_METADATA,
  ClientProfileBrandingSchema,
  ClientProfileIdentitySchema,
  ClientProfileLinksSchema,
  ClientProfilePromptsSchema,
  ClientProfileSchema,
  ClientProfileSourceSchema,
  ClientProfileStatusSchema,
  ClientProfileWorkspaceSchema,
  ClientProfilesDomainSchema,
  OrganizationModelDomainKeySchema,
  OrganizationModelDomainMetadataByDomainSchema,
  OrganizationModelDomainMetadataSchema,
  OrganizationModelSchema
} from './schema'
export { NodeIdPathSchema, NodeIdStringSchema, UiPositionSchema } from './domains/systems'
export { LinkSchema } from './graph/link'
export { IconNameSchema, TechStackEntrySchema } from './domains/shared'
export {
  ORGANIZATION_MODEL_ICON_TOKENS,
  OrganizationModelBuiltinIconTokenSchema,
  OrganizationModelIconTokenSchema
} from './icons'
export {
  KNOWLEDGE_FEATURE_ID,
  KNOWLEDGE_SYSTEM_ID,
  PROJECTS_FEATURE_ID,
  PROJECTS_SYSTEM_ID,
  PROJECTS_INDEX_SURFACE_ID,
  PROJECTS_VIEW_ACTION_ID,
  SALES_FEATURE_ID,
  PROSPECTING_FEATURE_ID,
  OPERATIONS_FEATURE_ID,
  SALES_SYSTEM_ID,
  PROSPECTING_SYSTEM_ID,
  OPERATIONS_SYSTEM_ID,
  MONITORING_FEATURE_ID,
  MONITORING_SYSTEM_ID,
  SETTINGS_FEATURE_ID,
  SETTINGS_SYSTEM_ID,
  SEO_FEATURE_ID,
  SEO_SYSTEM_ID,
  SALES_PIPELINE_SURFACE_ID,
  PROSPECTING_LISTS_SURFACE_ID,
  OPERATIONS_COMMAND_VIEW_SURFACE_ID,
  SETTINGS_ROLES_SURFACE_ID
} from './contracts'
export { DEFAULT_ORGANIZATION_MODEL } from './defaults'
export {
  DEFAULT_ORGANIZATION_MODEL_STATUSES,
  defineStatus,
  defineStatuses,
  StatusesDomainSchema,
  StatusEntrySchema,
  StatusSemanticClassSchema
} from './domains/statuses'
export {
  DEFAULT_ORGANIZATION_MODEL_CUSTOMERS,
  defineCustomer,
  defineCustomers,
  CustomersDomainSchema,
  CustomerSegmentSchema,
  FirmographicsSchema
} from './domains/customers'
export {
  DEFAULT_ORGANIZATION_MODEL_OFFERINGS,
  defineOffering,
  defineOfferings,
  OfferingsDomainSchema,
  ProductSchema,
  PricingModelSchema
} from './domains/offerings'
export {
  AgentRoleHolderSchema,
  DEFAULT_ORGANIZATION_MODEL_ROLES,
  defineRole,
  defineRoles,
  HumanRoleHolderSchema,
  RoleHolderSchema,
  RoleHoldersSchema,
  RoleIdSchema,
  RolesDomainSchema,
  RoleSchema,
  TeamRoleHolderSchema
} from './domains/roles'
export {
  DEFAULT_ORGANIZATION_MODEL_GOALS,
  defineGoal,
  defineGoals,
  GoalsDomainSchema,
  ObjectiveSchema,
  KeyResultSchema
} from './domains/goals'
export {
  DEFAULT_ORGANIZATION_MODEL_SYSTEMS,
  SYSTEM_INTERFACE_PROFILES,
  SYSTEM_INTERFACE_READINESS_PROFILES,
  defineSystem,
  defineSystems,
  SystemEntrySchema,
  SystemIdSchema,
  SystemInterfaceKeySchema,
  SystemInterfaceLifecycleSchema,
  SystemInterfaceReadinessProfileSchema,
  SystemInterfaceRefSchema,
  SystemApiInterfaceSchema,
  SystemKindSchema,
  SystemLifecycleSchema,
  SystemPathSchema,
  SystemUiSchema,
  SystemsDomainSchema,
  SystemStatusSchema
} from './domains/systems'
export {
  AgentKindSchema,
  AgentResourceEntrySchema,
  CodeReferenceRoleSchema,
  CodeReferenceSchema,
  ContractRefSchema,
  DEFAULT_ORGANIZATION_MODEL_RESOURCES,
  defineResource,
  defineResourceOntology,
  defineResources,
  EventDescriptorSchema,
  EventEmissionDescriptorSchema,
  EventIdSchema,
  IntegrationResourceEntrySchema,
  parseContractRef,
  ResourceEntrySchema,
  ResourceGovernanceStatusSchema,
  ResourceIdSchema,
  ResourceKindSchema,
  ResourceOntologyBindingSchema,
  ResourcesDomainSchema,
  ScriptResourceEntrySchema,
  ScriptResourceLanguageSchema,
  ScriptResourceSourceSchema,
  WorkflowResourceEntrySchema
} from './domains/resources'
export {
  compileTopologyNodeRef,
  DEFAULT_ORGANIZATION_MODEL_TOPOLOGY,
  defineTopology,
  defineTopologyRelationship,
  isOntologyTopologyRef,
  OmTopologyDomainSchema,
  OmTopologyMetadataSchema,
  OmTopologyNodeKindSchema,
  OmTopologyNodeRefSchema,
  OmTopologyRelationshipKindSchema,
  OmTopologyRelationshipSchema,
  OmTopologySystemInterfaceGrantMetadataSchema,
  OmTopologySystemInterfaceGrantSchema,
  parseTopologyNodeRef,
  topologyRelationship,
  topologyRef
} from './domains/topology'
export {
  ActionsDomainSchema,
  ActionIdSchema,
  ActionInvocationKindSchema,
  ActionInvocationSchema,
  ActionRefSchema,
  ActionSchema,
  ActionScopeSchema,
  ApiEndpointInvocationSchema,
  DEFAULT_ORGANIZATION_MODEL_ACTIONS,
  defineAction,
  defineActions,
  findOrganizationActionById,
  McpToolInvocationSchema,
  ScriptExecutionInvocationSchema,
  SlashCommandInvocationSchema
} from './domains/actions'
export {
  defineEntity,
  defineEntities,
  EntitiesDomainSchema,
  EntityIdSchema,
  EntityLinkKindSchema,
  EntityLinkSchema,
  EntitySchema
} from './domains/entities'
export {
  DEFAULT_ORGANIZATION_MODEL_POLICIES,
  definePolicy,
  definePolicies,
  PoliciesDomainSchema,
  PolicyEffectSchema,
  PolicyApplicabilitySchema,
  PolicyIdSchema,
  PolicyPredicateSchema,
  PolicySchema,
  PolicyTriggerSchema
} from './domains/policies'
export {
  DEFAULT_ORGANIZATION_MODEL_NAVIGATION,
  getSortedSidebarEntries,
  NavigationGroupSchema,
  OrganizationModelNavigationSchema,
  SidebarNavigationSchema,
  SidebarNodeSchema,
  SidebarSectionSchema,
  SidebarSurfaceTargetsSchema,
  SurfaceDefinitionSchema,
  SurfaceTypeSchema,
  TopbarActionNodeSchema,
  TopbarSectionSchema
} from './domains/navigation'
export {
  defineKnowledgeNode,
  defineKnowledgeNodes,
  KnowledgeDomainSchema,
  KnowledgeLinkSchema,
  KnowledgeTargetKindSchema,
  KnowledgeTargetRefSchema,
  OrgKnowledgeNodeSchema,
  OrgKnowledgeKindSchema
} from './domains/knowledge'
export { defineOrganizationModel, resolveOrganizationModel, resolveOrganizationModelWithResources } from './resolve'
export type { ResolvedSystemEntry, ResolvedOrganizationModel } from './resolve'
export { createFoundationOrganizationModel } from './foundation'
export { scaffoldOrganizationModel } from './scaffolders'
export {
  defineDomainRecord,
  getClientProfile,
  getClientProfileBySlug,
  listAllSystems,
  listClientProfiles
} from './helpers'
export { projectOrganizationSurfaces, validateOrganizationSurfaceProjection } from './surface-projection'
export type {
  BaseOmScaffoldSpec,
  KnowledgeNodeScaffoldSpec,
  OmScaffoldEdit,
  OmScaffoldIntent,
  OmScaffoldPlan,
  OmScaffoldSpec,
  OmScaffoldWrite,
  OntologyRecordScaffoldSpec,
  ResourceScaffoldSpec,
  SystemScaffoldSpec
} from './scaffolders'
export type { SystemEntryWithTree } from './helpers'
export type {
  OrganizationSurfaceProjection,
  OrganizationSurfaceProjectionIssue,
  OrganizationSurfaceProjectionIssueCode
} from './surface-projection'

export type {
  OntologyActionType,
  OntologyCatalogType,
  OntologyCompilation,
  OntologyDiagnostic,
  OntologyEventType,
  OntologyGroup,
  OntologyId,
  OntologyInterfaceType,
  OntologyKind,
  OntologyLinkType,
  OntologyObjectType,
  OntologyRecordOrigin,
  OntologyScope,
  OntologySharedProperty,
  OntologyEndpointType,
  OntologyValueType,
  ParsedOntologyId,
  ResolvedOntologyIndex,
  ResolvedOntologyRecord,
  ResolvedOntologyRecordEntry
} from './ontology'

export type {
  DeepPartial,
  ClientProfile,
  ClientProfileBranding,
  ClientProfileIdentity,
  ClientProfileLinks,
  ClientProfilePrompts,
  ClientProfileSource,
  ClientProfileStatus,
  ClientProfileWorkspace,
  KnowledgeLink,
  KnowledgeTargetKind,
  KnowledgeTargetRef,
  OrganizationModel,
  OrganizationModelBranding,
  OrganizationModelClients,
  OrganizationModelCustomerFirmographics,
  OrganizationModelCustomers,
  OrganizationModelCustomerSegment,
  OrganizationModelGoals,
  OrganizationModelNavigation,
  OrganizationModelSidebar,
  OrganizationModelSidebarGroupNode,
  OrganizationModelSidebarNode,
  OrganizationModelSidebarSection,
  OrganizationModelSidebarSurfaceNode,
  OrganizationModelSidebarSurfaceTargets,
  OrganizationModelTopbarActionNode,
  OrganizationModelTopbarSection,
  OrganizationModelKeyResult,
  OrganizationModelObjective,
  OrganizationModelSystemEntry,
  OrganizationModelSystemApiInterface,
  OrganizationModelSystemInterfaceKey,
  OrganizationModelSystemInterfaceLifecycle,
  OrganizationModelSystemInterfaceReadinessProfile,
  OrganizationModelSystemInterfaceRef,
  OrganizationModelSystemId,
  OrganizationModelSystemKind,
  OrganizationModelSystemLifecycle,
  OrganizationModelSystems,
  OrganizationModelSystemStatus,
  OrganizationModelAgentKind,
  OrganizationModelAgentResourceEntry,
  EventDescriptor,
  EventEmissionDescriptor,
  EventId,
  OrganizationModelIntegrationResourceEntry,
  OrganizationModelResourceEntry,
  OrganizationModelCodeReference,
  OrganizationModelCodeReferenceRole,
  OrganizationModelResourceGovernanceStatus,
  OrganizationModelResourceId,
  OrganizationModelResourceKind,
  OrganizationModelContractRef,
  OrganizationModelResourceOntologyBinding,
  OrganizationModelResourceOntologyBindingContract,
  OrganizationModelResources,
  ParsedContractRef,
  OrganizationModelScriptResourceEntry,
  OrganizationModelScriptResourceLanguage,
  OrganizationModelScriptResourceSource,
  OrganizationModelTopology,
  OrganizationModelTopologyMetadata,
  OrganizationModelTopologyNodeKind,
  OrganizationModelTopologyNodeRef,
  OrganizationModelTopologyRelationship,
  OrganizationModelTopologyRelationshipKind,
  OrganizationModelTopologySystemInterfaceGrant,
  OrganizationModelTopologySystemInterfaceGrantMetadata,
  OrganizationModelWorkflowResourceEntry,
  OrganizationModelActions,
  OrganizationModelAction,
  OrganizationModelActionId,
  OrganizationModelActionInvocation,
  OrganizationModelActionInvocationKind,
  OrganizationModelActionRef,
  OrganizationModelActionScope,
  Entity,
  EntityId,
  EntityLink,
  OrganizationModelEntities,
  OrganizationModelEntity,
  OrganizationModelPolicies,
  OrganizationModelPolicy,
  OrganizationModelPolicyEffect,
  OrganizationModelPolicyApplicability,
  OrganizationModelPolicyId,
  OrganizationModelPolicyPredicate,
  OrganizationModelPolicyTrigger,
  OrganizationModelOfferings,
  OrganizationModelPricingModel,
  OrganizationModelProduct,
  OrganizationModelRole,
  OrganizationModelAgentRoleHolder,
  OrganizationModelHumanRoleHolder,
  OrganizationModelRoleHolder,
  OrganizationModelRoleId,
  OrganizationModelTechStackEntry,
  OrganizationModelTeamRoleHolder,
  OrganizationModelRoles,
  OrganizationModelStatuses,
  OrganizationModelStatusEntry,
  OrganizationModelStatusSemanticClass,
  NodeIdPath,
  NodeIdString,
  OrganizationModelKnowledge,
  OrgKnowledgeNode,
  OrgKnowledgeNodeInput,
  OrgKnowledgeKind,
  OrganizationModelIconToken,
  OrganizationModelBuiltinIconToken,
  OrganizationModelDomainKey,
  OrganizationModelDomainMetadata,
  OrganizationModelDomainMetadataByDomain
} from './types'

export type { LeadGenStageCatalogEntry } from './catalogs/lead-gen'

export type {
  FoundationBranding,
  FoundationNavigationSurface,
  FoundationOrganizationModel,
  FoundationSurfaceIcon,
  FoundationSurfaceType
} from './foundation'
