export { createAppWikiScope, createKnowledgeClient, createKnowledgeSdk, openGlobalWiki, openProjectWiki, type KnowledgeAgentContextPackOptions, type KnowledgeAppWikiInitOptions, type KnowledgeAppWikiNoteInput, type KnowledgeAppWikiQueryOptions, type KnowledgeAppWikiScopeOptions, type KnowledgeAppWikiSdk, type KnowledgeAppWikiSearchOptions, type KnowledgeAppWikiSourceInput, type KnowledgeAskOptions, type KnowledgeAuthInput, type KnowledgeClient, type KnowledgeClientOptions, type KnowledgeContextOptions, type KnowledgeInventoryOptions, type KnowledgeItemsSdk, type KnowledgeProjectLinksSdk, type KnowledgeRulesProvenanceOptions, type KnowledgeSearchOptions, type KnowledgeSetupOptions, type KnowledgeSyncDoctorOptions, type KnowledgeWebSearchOptions, } from './sdk.js'; export { KNOWLEDGE_PROJECT_MEMBERSHIP_RULE, KNOWLEDGE_PROJECT_REGISTRATION_ROUTE, KNOWLEDGE_PROJECT_REGISTRATION_SCHEMA_VERSION, KNOWLEDGE_PROJECT_RESOURCES_ROUTE, KnowledgeProjectLinksError, KnowledgeProjectLinksHttpClient, canonicalKnowledgeProjectLinksJson, createKnowledgeProjectLinksHttpClient, createLocalKnowledgeProjectLinksAuthority, createPostgresKnowledgeProjectLinksAuthority, digestKnowledgeProjectLinksValue, postgresKnowledgeProjectLinksSchemaStatements, sqliteKnowledgeProjectLinksSchemaSql, type KnowledgeProjectAuthorityIdentity, type KnowledgeProjectCollectionRecord, type KnowledgeProjectInverseRequest, type KnowledgeProjectInverseVerification, type KnowledgeProjectItemBindingRecord, type KnowledgeProjectItemBindingRequest, type KnowledgeProjectLinksAuthority, type KnowledgeProjectLinksAuthorityOptions, type KnowledgeProjectLinksErrorCode, type KnowledgeProjectLinksHttpClientOptions, type KnowledgeProjectReceiptAction, type KnowledgeProjectReceiptLookupRequest, type KnowledgeProjectReceiptOutcome, type KnowledgeProjectRegistrationCapability, type KnowledgeProjectRegistrationDirection, type KnowledgeProjectRegistrationReceipt, type KnowledgeProjectRegistrationRequest, type KnowledgeProjectResource, type KnowledgeProjectResourceKind, type KnowledgeProjectResourceListOptions, type KnowledgeProjectResourcePage, } from './project-links.js'; export { resolveItemStore, type ItemStore, type ItemCreateInput, type ItemPatch, type ItemArchiveFilter, type ItemListDirection, type ItemListOptions, type ItemListResult, type ItemListSort, type ResolveItemStoreOptions, } from './item-store.js'; export { type KnowledgeItem, type Store as KnowledgeItemStoreFile, } from './store.js'; export { KNOWLEDGE_APP_SLUG, KNOWLEDGE_BOUNDED_QUERY_CAPABILITY, KNOWLEDGE_RESOURCE, KnowledgeBoundedQueryCapabilityError, usesKnowledgeHttpTransport, resolveKnowledgeHttpStore, type KnowledgeHttpStore, type KnowledgeHttpCreateInput, type KnowledgeHttpListOptions, type KnowledgeHttpPatch, type KnowledgeHttpSearchHit, type KnowledgeHttpSearchOptions, } from './http-store.js'; export { DEFAULT_KNOWLEDGE_GUARDED_LIMITS, KNOWLEDGE_GUARDED_WRITE_CONTRACT, KNOWLEDGE_PRIVATE_INPUT_SCHEMA, KNOWLEDGE_PRIVATE_EDIT_APPROVAL_SCHEMA, KNOWLEDGE_PRIVATE_QUERY_SCHEMA, KNOWLEDGE_PRIVATE_RESULT_SCHEMA, KNOWLEDGE_PRIVATE_TITLE_LOOKUP_SCHEMA, KNOWLEDGE_RELATIONS_METADATA_KEY, KNOWLEDGE_RELATIONS_SCHEMA, assertKnowledgeGuardedBinding, assertKnowledgeGuardedBounds, assertKnowledgeGuardedManifestBinding, assertKnowledgeGuardedManifestOptions, assertKnowledgeGuardedManifestTerminalCompleteness, assertKnowledgeGuardedPayload, assertKnowledgeGuardedPrecondition, assertKnowledgePrivateQueryBounds, assertKnowledgePrivateQueryPage, assertKnowledgePrivateQuerySelector, assertKnowledgeRelationsMetadata, assertKnowledgeTerminalCompleteness, canonicalKnowledgeGuardedJson, computeKnowledgeGuardedAdoptionDeterministicKey, computeKnowledgeGuardedAdoptionReceiptId, computeKnowledgeGuardedDeterministicKey, computeKnowledgeGuardedManifestId, computeKnowledgeGuardedManifestDeterministicKey, computeKnowledgeGuardedManifestDigest, computeKnowledgeGuardedReceiptId, computeKnowledgeGuardedRecoveryKey, createKnowledgePrivateInputDescriptor, createKnowledgePrivateQueryDescriptor, createKnowledgePrivateTitleLookupDescriptor, evaluateKnowledgeGuardedManifestCompletion, knowledgeGuardedDigest, knowledgeGuardedContentSha256, knowledgeGuardedUtf8Bytes, inspectKnowledgePrivateResult, normalizeKnowledgeGuardedLimits, revokeKnowledgePrivateInputDescriptor, revokeKnowledgePrivateQueryDescriptor, revokeKnowledgePrivateResultDescriptor, revokeKnowledgePrivateTitleLookupDescriptor, type CreateKnowledgeGuardedManifestOptions, type CreateKnowledgePrivateInputDescriptorOptions, type CreateKnowledgePrivateQueryDescriptorOptions, type CreateKnowledgePrivateTitleLookupDescriptorOptions, type KnowledgeAuthorityBinding, type KnowledgeAuthorityClassification, type KnowledgeGuardedAdoptionAction, type KnowledgeGuardedAdoptionEnvelope, type KnowledgeGuardedAdoptionKeyInput, type KnowledgeGuardedAdoptionReceipt, type KnowledgeGuardedAdoptionReconciliation, type KnowledgeGuardedAdoptionResult, type KnowledgeGuardedAdoptionSubmission, type KnowledgeGuardedBinding, type KnowledgeGuardedBindingState, type KnowledgeGuardedBindingStateReadback, type KnowledgeGuardedBounds, type KnowledgeGuardedCreatePayload, type KnowledgeGuardedDeterministicKeyInput, type KnowledgeGuardedLimits, type KnowledgeGuardedManifest, type KnowledgeGuardedManifestBinding, type KnowledgeGuardedManifestCompletion, type KnowledgeGuardedManifestEnvelope, type KnowledgeGuardedManifestReconciliation, type KnowledgeGuardedManifestReconciliationStep, type KnowledgeGuardedManifestRecovery, type KnowledgeGuardedManifestStep, type KnowledgeGuardedManifestStepState, type KnowledgeGuardedManifestSubmission, type KnowledgeGuardedLegacyAdoptionOptions, type KnowledgeGuardedLegacyRollbackOptions, type KnowledgeGuardedPayload, type KnowledgeGuardedPrecondition, type KnowledgeGuardedReadback, type KnowledgeGuardedReceipt, type KnowledgeGuardedReceiptStatus, type KnowledgeGuardedRecoveryKeyInput, type KnowledgeGuardedRecoveryStrategy, type KnowledgeGuardedRollbackResult, type KnowledgeGuardedSubmission, type KnowledgeGuardedTitleLookup, type KnowledgeGuardedUpdatePayload, type KnowledgeGuardedWriteEnvelope, type KnowledgeGuardedWriteResult, type KnowledgeGuardedWriteVerb, type KnowledgePrivateInputDescriptor, type KnowledgePrivateEditApprovalGrant, type KnowledgePrivateItemProof, type KnowledgePrivateQueryArchive, type KnowledgePrivateQueryBounds, type KnowledgePrivateQueryDescriptor, type KnowledgePrivateQueryEnvelope, type KnowledgePrivateQueryItemProof, type KnowledgePrivateQueryKind, type KnowledgePrivateQueryPage, type KnowledgePrivateQueryResult, type KnowledgePrivateQuerySelector, type KnowledgePrivateResultDescriptor, type KnowledgePrivateResultProof, type KnowledgePrivateTitleLookupDescriptor, type KnowledgeRelationsMetadata, type KnowledgeTerminalReconciliation, } from './guarded-write-contract.js'; export * from './guarded-writer.js'; export { KNOWLEDGE_PRIVATE_REVIEW_SCHEMA, KnowledgePrivateReviewError, createKnowledgePrivateReviewDescriptor, type CreateKnowledgePrivateReviewDescriptorOptions, type KnowledgePrivateReviewDescriptor, type KnowledgePrivateEditApproval, type KnowledgePrivateEditReviewer, type KnowledgePrivateReviewer, type KnowledgePrivateReviewProof, type KnowledgeReviewBindingState, } from './guarded-review.js'; export { KNOWLEDGE_GUARDED_CLI_REQUEST_SCHEMA, KNOWLEDGE_GUARDED_CLI_RESULT_SCHEMA, KnowledgeGuardedCliDescriptorError, executeKnowledgeGuardedCliQuery, executeKnowledgeGuardedCliReadback, executeKnowledgeGuardedCliWrite, type KnowledgeGuardedCliDescriptorOptions, type KnowledgeGuardedCliPrivateResult, } from './guarded-cli.js'; export { KNOWLEDGE_API_KEY_ENV, KNOWLEDGE_API_KEY_ENV_KEYS, KNOWLEDGE_API_URL_ENV, KNOWLEDGE_API_URL_ENV_KEYS, KNOWLEDGE_DATABASE_URL_ENV, KNOWLEDGE_DEFAULT_API_URL, KNOWLEDGE_LOCAL_OPT_IN_ENV, KNOWLEDGE_LOCAL_OPT_IN_ENV_KEYS, RETIRED_KNOWLEDGE_SELECTOR_ENV_KEYS, KnowledgeSourceUnavailableError, RetiredKnowledgeStorageSelectorError, assertNoRetiredKnowledgeStorageSelector, hasKnowledgeEnvAuthorityIntent, isKnowledgeLocalOptIn, knowledgeAuthorityEnvKeys, knowledgeFailClosedMessage, knowledgeKeychainTierOptions, resetKnowledgeLocalModeNotice, resolveKnowledgeClientTransport, selectsKnowledgeLocalStore, type KnowledgeClientTransport, type KnowledgeClientTransportOptions, type KnowledgeClientTransportReport, type KnowledgeSourceUnavailableDetail, } from './client-transport.js'; export { NETWORK_GUARD_ENV, KnowledgeNetworkGuardError, assertOutboundRequestAllowed, guardedFetch, isLoopbackHostname, isNetworkGuardActive, } from './net-guard.js'; export { buildKnowledgeAgentContextPack, type KnowledgeAgentContextCitation, type KnowledgeAgentContextEvidence, type KnowledgeAgentContextPack, type KnowledgeAgentDuplicateCandidate, type KnowledgeContextPackPurpose, type KnowledgeContextPackSource, } from './context-pack.js'; export { createKnowledgeService, KnowledgeService, type KnowledgeAppWikiInitResult, type KnowledgeAppWikiNote, type KnowledgeAppWikiNoteReadResult, type KnowledgeAppWikiNoteResult, type KnowledgeAppWikiNoteInput as KnowledgeServiceAppWikiNoteInput, type KnowledgeAppWikiSourceInput as KnowledgeServiceAppWikiSourceInput, type KnowledgeArtifactManifestKeyRepairCandidate, type KnowledgeArtifactManifestKeyRepairResult, type KnowledgeArtifactManifestStatus, type KnowledgeInventoryLegacyItem, type KnowledgeInventoryOptions as KnowledgeServiceInventoryOptions, type KnowledgeInventoryResult, type KnowledgeLegacyPathMergeResult, type KnowledgeLegacyPathMigrationResult, type KnowledgeOpenFilesBoundaryStatus, type KnowledgePathsResult, type KnowledgePeerSyncOptions, type KnowledgeRulesProvenanceImportOptions, type KnowledgeRulesProvenanceImportResult, type KnowledgeSyncConflictAiProposalServiceOptions, type KnowledgeSyncDoctorResult, type KnowledgeSyncRecommendedCommand, type KnowledgeServiceOptions, type KnowledgeSetupResult, type KnowledgeSyncBundleOptions, type KnowledgeSyncImportOptions, type KnowledgeSyncSnapshotOptions, } from './service.js'; export { createKnowledgeProjectPanel, formatKnowledgeProjectPanel, type KnowledgeProjectPanelOptions, } from './project-panel.js'; export { assertAppWikiWriteAllowed, getAppWikiNote, ingestAppWikiSourceRef, initAppWikiScope, listAppWikiNotes, writeAppWikiNote, type AppWikiInitOptions, type AppWikiInitResult, type AppWikiNoteGetOptions, type AppWikiNoteGetResult, type AppWikiNoteInput, type AppWikiNoteListOptions, type AppWikiNoteRecord, type AppWikiNoteWriteResult, type AppWikiSourceRefInput, type AppWikiWriteGuardOptions, } from './app-wiki.js'; export { proposeKnowledgeSyncConflictResolutionWithAi, type KnowledgeSyncConflictAiProposalOptions, } from './conflict-agent.js'; export { KNOWLEDGE_MACHINES_ADAPTER_CONTRACT_VERSION, KNOWLEDGE_MACHINES_ADAPTER_ENTRYPOINT, KNOWLEDGE_MACHINES_ADAPTER_PACKAGE, createKnowledgeMachinesAdapter, discoverKnowledgeMachineTopology, preflightKnowledgeMachine, resolveKnowledgeMachineRoute, resolveKnowledgeMachineWorkspace, type KnowledgeMachinesAdapter, type KnowledgeMachinesAdapterDefaults, type KnowledgeMachinesAdapterImplementation, type KnowledgeMachinesAdapterMode, type KnowledgeMachinesAdapterStatus, type KnowledgeMachineCommandResult, type KnowledgeMachineCommandRunner, type KnowledgeMachineEntry, type KnowledgeMachinePreflightCheck, type KnowledgeMachinePreflightCommandResult, type KnowledgeMachinePreflightCommandSpec, type KnowledgeMachinePreflightOptions, type KnowledgeMachinePreflightPackageSpec, type KnowledgeMachinePreflightReport, type KnowledgeMachinePreflightRunner, type KnowledgeMachinePreflightSource, type KnowledgeMachinePreflightStatus, type KnowledgeMachinePreflightWorkspaceSpec, type KnowledgeMachineRouteHint, type KnowledgeMachineRouteOptions, type KnowledgeMachineRouteResolution, type KnowledgeMachineWorkspaceDiagnostic, type KnowledgeMachineWorkspaceDiagnosticStatus, type KnowledgeMachineWorkspaceOptions, type KnowledgeMachineWorkspacePathSource, type KnowledgeMachineWorkspaceRepairHint, type KnowledgeMachineWorkspaceResolution, type KnowledgeMachineWorkspaceSource, type KnowledgeMachineTopology, type KnowledgeMachineTopologyOptions, } from './machines.js'; export { KNOWLEDGE_SYNC_SCHEMA_VERSION, KNOWLEDGE_SYNC_MIN_PROTOCOL_VERSION, KNOWLEDGE_SYNC_PROTOCOL_VERSION, KNOWLEDGE_SYNC_TABLES, applyKnowledgeSyncBundle, createKnowledgeSyncSnapshot, createKnowledgeSyncBundle, getKnowledgeSyncStatus, listKnowledgeMachines, listKnowledgeSyncConflicts, recordKnowledgeSyncConflict, refreshMachineRegistryFromTopology, syncArtifactsFromSnapshot, syncTablesFromSnapshot, upsertKnowledgeMachine, type KnowledgeSyncConflictInput, type KnowledgeSyncConflictEvidence, type KnowledgeSyncConflictProposalAgent, type KnowledgeSyncConflictProposalCitation, type KnowledgeSyncConflictProposedPatch, type KnowledgeSyncConflictResolutionProposal, type KnowledgeSyncConflictRow, type KnowledgePeerSyncResult, type KnowledgeSyncApplyResult, type KnowledgeSyncArtifactApplyResult, type KnowledgeSyncBundle, type KnowledgeSyncBundleArtifact, type KnowledgeSyncBundleTable, type KnowledgeSyncMachineRow, type KnowledgeSyncSnapshotResult, type KnowledgeSyncSnapshotRow, type KnowledgeSyncStatus, type KnowledgeSyncTable, type KnowledgeSyncTableApplyResult, } from './sync.js'; export { HASNA_KNOWLEDGE_APP_PATH, LEGACY_HASNA_KNOWLEDGE_APP_PATH, EXAMPLE_KNOWLEDGE_CANONICAL, canonicalExampleKnowledgeStorage, defaultKnowledgeConfig, ensureKnowledgeWorkspace, globalKnowledgeHome, legacyGlobalKnowledgeHome, legacyProjectKnowledgeHome, projectKnowledgeHome, readKnowledgeConfig, resolveLegacyScopedWorkspace, resolveScopedWorkspace, workspaceForHome, writeKnowledgeConfig, type KnowledgeConfig, type KnowledgeWorkspace, } from './workspace.js'; export { createArtifactStore, LocalArtifactStore, S3ArtifactStore, normalizeArtifactKey, type ArtifactStore, type ArtifactWrite, type S3ArtifactStoreOptions, } from './artifact-store.js'; export { artifactKindForKey, hashArtifactBody, resolveStorageContract, validateStorageConfig, type GeneratedStorageObject, type StorageArtifactClass, type StorageContract, type StorageValidationResult, } from './storage-contract.js'; export { KNOWLEDGE_STORAGE_TABLES, STORAGE_TABLES, getStorageStatus, getSyncMetaAll, parseStorageTables, resolveTables, } from './storage.js'; export type { StorageStatus, StorageStatusOptions, StorageSyncOptions, SyncMeta, SyncResult, } from './storage.js'; export { parseSourceRef, catalogSourceUriForRef, revisionIdForSourceRef, isSupportedSourceRef, type BaseSourceRef, type FileSourceRef, type OpenFilesSourceRef, type S3SourceRef, type SourceRef, type SourceRefKind, type WebSourceRef, } from './source-ref.js'; export { hybridSearch, type HybridSearchEntry, type HybridSearchOptions, type HybridSearchResult, type SearchProvenance, type SearchResultKind, } from './search.js'; export { retrieveKnowledgeContext, type KnowledgeContextPack, type RetrievalCitation, type RetrievalExcerpt, type RetrievalGraphEvidence, type RetrievalOptions, type RerankedSearchEntry, } from './retrieval.js'; export { runKnowledgePrompt, type KnowledgePromptOptions, type KnowledgePromptResult, } from './agent.js'; export { DEFAULT_EMBEDDING_DIMENSIONS, DEFAULT_EMBEDDING_MODEL_REF, embedTexts, embeddingIndexStatus, indexKnowledgeEmbeddings, resolveEmbeddingModelRef, searchVectorIndex, type EmbeddingIndexOptions, type EmbeddingIndexResult, type EmbeddingRuntimeOptions, type EmbeddingSearchOptions, type EmbeddingStatusResult, type EmbeddingUsage, type EmbeddingVectorResult, type SemanticSearchResult, } from './embeddings.js'; export { createAiSdkProviderRegistry, languageModelFor, listModelRegistry, modelAliases, parseModelRef, providerCredentialStatus, providerSettings, providerStatus, resolveModelRef, type AiProviderId, type AiProviderRuntimeOptions, type AiProviderSettings, type AiProvidersConfig, type ModelCapabilities, type ModelRegistryEntry, type ProviderCredentialStatus, type ProviderStatusResult, } from './providers.js'; export { runProviderWebSearch, type WebSearchOptions, type WebSearchResult, type WebSearchSource, } from './web-search.js'; export { compileWikiPage, fileAnswerToWiki, lintWiki, type WikiAnswerFileOptions, type WikiAnswerFileResult, type WikiCompileOptions, type WikiCompileResult, type WikiLintIssue, type WikiLintResult, } from './wiki-compiler.js'; export { ingestOpenFilesManifest, ingestOpenFilesManifestItems, type ManifestIngestOptions, type ManifestIngestResult, type ManifestItemsIngestOptions, type ManifestObject, } from './manifest-ingest.js'; export { ingestSourceRef, type SourceIngestOptions, type SourceIngestResult, } from './source-ingest.js'; export { importRulesProvenance, type RulesProvenanceCitation, type RulesProvenanceImportOptions, type RulesProvenanceImportResult, type RulesProvenancePrecedence, type RulesProvenanceRecord, type RulesProvenanceRedactionStatus, type RulesProvenanceSkippedSource, type RulesProvenanceSourceFamily, } from './rules-provenance.js'; export { resolveOpenFilesSource, type ResolvedSourceChunk, type ResolvedSourceCitation, type SourceResolveOptions, type SourceResolveResult, type SourceResolverEvidence, } from './source-resolver.js'; export { consumeOpenFilesOutbox, type OutboxConsumeOptions, type OutboxConsumeResult, } from './outbox-consume.js'; export { enqueueMissingEmbeddings, refreshEmbeddingIndex, reindexHealth, type ReindexEmbeddingsResult, type ReindexEnqueueResult, type ReindexHealthResult, type ReindexRuntimeOptions, } from './reindex.js'; export { DEFAULT_KNOWLEDGE_API_URL, clearKnowledgeAuth, clearKnowledgeCredentials, getKnowledgeApiKey, getKnowledgeAuth, knowledgeApiKeyPrincipal, knowledgeAuthPath, knowledgeAuthStatus, knowledgeCredentialsPath, normalizeKnowledgeApiOrigin, probeKnowledgeAuth, resolveKnowledgeApiUrl, saveKnowledgeAuth, saveKnowledgeCredentials, type KnowledgeAuthConfig, type KnowledgeAuthPrincipal, type KnowledgeAuthProbe, type KnowledgeAuthProbeReason, type KnowledgeAuthStatus, } from './auth.js'; export { KNOWLEDGE_SERVE_APP, createServeHandler, startKnowledgeServe, knowledgeOpenApi, NoteRepo, type NoteInput as KnowledgeServeNoteInput, type NoteListOptions as KnowledgeServeNoteListOptions, type ServeDeps as KnowledgeServeDeps, type StartServeOptions as KnowledgeStartServeOptions, type RunningServe as KnowledgeRunningServe, } from './serve.js'; export { configureKnowledgeCredentialReference } from './auth-reference'; export type { KnowledgeCredentialReferenceInput, KnowledgeCredentialReferenceResult } from './auth-reference';