@powerhousedao/reactor-browser 6.0.0-dev.253 → 6.0.0-dev.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,18 +1,21 @@
1
- import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-BahFxPxn.js";
1
+ import { a as getAnalyticsStore, i as createAnalyticsStore, n as IPowerhouseAnalytics, r as CreateStoreOptions } from "./types-BmR60pPN.js";
2
2
  import { a as RelationalDbWithLive, c as PGlite, i as useRelationalQueryOptions, n as QueryCallbackReturnType, o as useRelationalDb, r as useRelationalQuery, s as PGliteWithLive, t as createProcessorQuery } from "./index-Ce4S7Kk1.js";
3
3
  import { C as PhDocumentFieldsFragment, S as MutateDocumentMutation, T as Scalars, _ as DeleteDocumentMutation, a as GraphQLDocumentEventOperationName, b as GetDocumentOperationsQuery, c as GraphQLDocumentsEvents, d as DEFAULT_DRIVE_ID, f as DEFAULT_SWITCHBOARD_URL, g as CreateDocumentMutation, h as graphqlEventsToSyncDrive, i as GraphQLClientWindowEvents, l as ReactorGraphQLClient, m as graphqlDocumentsEvents, n as GraphQLClientDocumentEvent, o as GraphQLDocumentEvents, p as graphqlDocumentEvents, r as GraphQLClientDocumentsEvent, s as GraphQLDocumentEventsOperationName, t as createClient, u as TStateSchemaZodObject, v as DeleteDocumentsMutation, w as PropagationMode, x as GetDocumentWithOperationsQuery, y as FindDocumentsQuery } from "./client-Bmw8cTjQ.js";
4
- import { A as logout, C as RenownUserButtonMenuItem, D as RenownAuthButton, E as RenownLoginButtonProps, M as RenownAuth, N as RenownAuthStatus, O as RenownAuthButtonProps, P as useRenownAuth, S as RenownUserButton, T as RenownLoginButton, _ as CopyIcon, a as CREDENTIAL_SCHEMA_EIP712_TYPE, b as SpinnerIcon, c as DOMAIN_TYPE, d as RENOWN_NETWORK_ID, f as RENOWN_URL, g as ChevronDownIcon, h as initRenownCrypto, i as useRenownInit, j as openRenown, k as login, l as ISSUER_TYPE, m as initConnectCrypto, n as RenownProps, o as CREDENTIAL_SUBJECT_TYPE, p as VERIFIABLE_CREDENTIAL_EIP712_TYPE, r as RenownInitOptions, s as CREDENTIAL_TYPES, t as Renown, u as RENOWN_CHAIN_ID, v as DisconnectIcon, w as RenownUserButtonProps, x as UserIcon, y as RenownLogo } from "./index-0ZaJb3C2.js";
5
- import { DocumentModelModule as DocumentModelModule$1, EditorModule, PHDocument as PHDocument$1, PHDocumentController } from "document-model";
6
- import { Action, DocumentAction, DocumentModelModule as DocumentModelModule$2, DocumentModelPHState, DocumentOperations, ISigner, Operation, PHBaseState, PHDocument as PHDocument$2, PHDocumentHeader, SubgraphModule } from "@powerhousedao/shared/document-model";
7
- import { DocumentDriveAction as DocumentDriveAction$1, DocumentDriveDocument, DriveInput, FileNode, FolderNode, Node as Node$1, SharingType } from "@powerhousedao/shared/document-drive";
4
+ import { A as logout, C as RenownUserButtonMenuItem, D as RenownAuthButton, E as RenownLoginButtonProps, M as RenownAuth, N as RenownAuthStatus, O as RenownAuthButtonProps, P as useRenownAuth, S as RenownUserButton, T as RenownLoginButton, _ as CopyIcon, a as CREDENTIAL_SCHEMA_EIP712_TYPE, b as SpinnerIcon, c as DOMAIN_TYPE, d as RENOWN_NETWORK_ID, f as RENOWN_URL, g as ChevronDownIcon, h as initRenownCrypto, i as useRenownInit, j as openRenown, k as login, l as ISSUER_TYPE, m as initConnectCrypto, n as RenownProps, o as CREDENTIAL_SUBJECT_TYPE, p as VERIFIABLE_CREDENTIAL_EIP712_TYPE, r as RenownInitOptions, s as CREDENTIAL_TYPES, t as Renown, u as RENOWN_CHAIN_ID, v as DisconnectIcon, w as RenownUserButtonProps, x as UserIcon, y as RenownLogo } from "./index-DgwLcoI3.js";
5
+ import * as document_model0 from "document-model";
6
+ import { DocumentModelLib, DocumentModelModule, EditorModule, PHDocument, PHDocumentController } from "document-model";
7
+ import { Action, DocumentAction, DocumentModelModule as DocumentModelModule$1, DocumentModelPHState, DocumentOperations, ISigner, Operation, PHBaseState, PHDocument as PHDocument$1, PHDocumentHeader, SubgraphModule, ValidationError } from "@powerhousedao/shared/document-model";
8
+ import * as _powerhousedao_shared_document_drive0 from "@powerhousedao/shared/document-drive";
9
+ import { DocumentDriveAction, DocumentDriveDocument, DriveInput, FileNode, FolderNode, Node, SharingType } from "@powerhousedao/shared/document-drive";
10
+ import * as _powerhousedao_reactor0 from "@powerhousedao/reactor";
8
11
  import { ChannelScheme, ConnectionState, ConnectionStateSnapshot, ConnectionStateSnapshot as ConnectionStateSnapshot$1, Database, Database as Database$1, DocumentChangeType, DocumentIntegrityService, GqlRequestChannel, IChannel, IDocumentModelLoader, IDocumentModelLoader as IDocumentModelLoader$1, IDocumentModelRegistry, IProcessor, IProcessorHostModule, IQueue, IReactorClient, IRelationalDb, ISyncManager, InMemoryQueue, IntervalPollTimer, Job, JwtHandler, KeyframeValidationIssue, OperationWithContext, ParsedDriveUrl, PollBehavior, PollBehavior as PollBehavior$1, ProcessorApp, ProcessorFactory, ProcessorFactoryBuilder, ProcessorFilter, ProcessorRecord, REACTOR_SCHEMA, ReactorBuilder, ReactorClientBuilder, ReactorClientModule, RebuildResult, RelationalDbProcessor, Remote, SignerConfig, SnapshotValidationIssue, SyncOperation, SyncOperationStatus, ValidationResult, driveCollectionId, driveIdFromUrl, parseDriveUrl } from "@powerhousedao/reactor";
9
12
  import { DragEventHandler, ReactNode } from "react";
10
13
  import { Kysely } from "kysely";
11
14
  import { IRenown, LoginStatus, User } from "@renown/sdk";
12
15
  import * as _powerhousedao_reactor_browser0 from "@powerhousedao/reactor-browser";
13
16
  import { AddPHGlobalEventHandler as AddPHGlobalEventHandler$1, BrowserReactorClientModule as BrowserReactorClientModule$1, DocumentDispatch as DocumentDispatch$1, PHAppConfig as PHAppConfig$1, PHAppConfigHooks as PHAppConfigHooks$1, PHAppConfigKey as PHAppConfigKey$1, PHAppConfigSetters as PHAppConfigSetters$1, PHDocumentEditorConfig as PHDocumentEditorConfig$1, PHDocumentEditorConfigHooks as PHDocumentEditorConfigHooks$1, PHDocumentEditorConfigKey as PHDocumentEditorConfigKey$1, PHDocumentEditorConfigSetters as PHDocumentEditorConfigSetters$1, PHGlobal as PHGlobal$1, PHGlobalConfig as PHGlobalConfig$1, PHGlobalConfigHooks as PHGlobalConfigHooks$1, PHGlobalConfigKey as PHGlobalConfigKey$1, PHGlobalConfigSetters as PHGlobalConfigSetters$1, PHGlobalKey as PHGlobalKey$1, PHModal as PHModal$1, SetPHGlobalValue as SetPHGlobalValue$1, UsePHGlobalValue as UsePHGlobalValue$1 } from "@powerhousedao/reactor-browser";
14
- import { DocumentModelLib as DocumentModelLib$1, Node as Node$2, RegistryPackageSource } from "@powerhousedao/shared";
15
- import { PackageInfo as PackageInfo$1 } from "@powerhousedao/shared/registry";
17
+ import { DocumentModelLib as DocumentModelLib$1, Node as Node$1, RegistryPackageSource } from "@powerhousedao/shared";
18
+ import { PackageInfo } from "@powerhousedao/shared/registry";
16
19
 
17
20
  //#region src/actions/dispatch.d.ts
18
21
  /**
@@ -22,7 +25,7 @@ import { PackageInfo as PackageInfo$1 } from "@powerhousedao/shared/registry";
22
25
  * @param onErrors - Callback invoked with any errors that occurred during action execution.
23
26
  * @returns The updated document, or undefined if the dispatch failed.
24
27
  */
25
- declare function dispatchActions<TDocument = PHDocument$2, TAction = Action>(actionOrActions: TAction[] | TAction | undefined, document: TDocument | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$2) => void): Promise<PHDocument$2 | undefined>;
28
+ declare function dispatchActions<TDocument = PHDocument$1, TAction = Action>(actionOrActions: TAction[] | TAction | undefined, document: TDocument | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void): Promise<PHDocument$1 | undefined>;
26
29
  /**
27
30
  * Dispatches actions to a document.
28
31
  * @param actionOrActions - The action or actions to dispatch.
@@ -30,38 +33,38 @@ declare function dispatchActions<TDocument = PHDocument$2, TAction = Action>(act
30
33
  * @param onErrors - Callback invoked with any errors that occurred during action execution.
31
34
  * @returns The updated document, or undefined if the dispatch failed.
32
35
  */
33
- declare function dispatchActions(actionOrActions: Action[] | Action | undefined, documentId: string, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$2) => void): Promise<PHDocument$2 | undefined>;
36
+ declare function dispatchActions(actionOrActions: Action[] | Action | undefined, documentId: string, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void): Promise<PHDocument$1 | undefined>;
34
37
  //#endregion
35
38
  //#region src/actions/document.d.ts
36
- declare function exportFile(document: PHDocument$2, suggestedName?: string): Promise<void | FileSystemFileHandle>;
37
- declare function addDocument(driveId: string, name: string, documentType: string, parentFolder?: string, document?: PHDocument$2, id?: string, preferredEditor?: string): Promise<{
38
- id: any;
39
- name: any;
39
+ declare function exportFile(document: PHDocument$1, suggestedName?: string): Promise<void | FileSystemFileHandle>;
40
+ declare function addDocument(driveId: string, name: string, documentType: string, parentFolder?: string, document?: PHDocument$1, id?: string, preferredEditor?: string): Promise<{
41
+ id: string;
42
+ name: string;
40
43
  documentType: string;
41
44
  parentFolder: string | null;
42
45
  kind: "file";
43
46
  }>;
44
- declare function addFolder(driveId: string, name: string, parentFolder?: string): Promise<any>;
47
+ declare function addFolder(driveId: string, name: string, parentFolder?: string): Promise<Node>;
45
48
  declare function deleteNode(driveId: string, nodeId: string): Promise<void>;
46
- declare function renameDriveNode(driveId: string, nodeId: string, name: string): Promise<Node$1 | undefined>;
49
+ declare function renameDriveNode(driveId: string, nodeId: string, name: string): Promise<Node | undefined>;
47
50
  //#endregion
48
51
  //#region src/actions/drive.d.ts
49
52
  type AddRemoteDriveOptions = {
50
53
  pollBehavior?: PollBehavior$1;
51
54
  };
52
- declare function addDrive(input: DriveInput, preferredEditor?: string): Promise<any>;
55
+ declare function addDrive(input: DriveInput, preferredEditor?: string): Promise<DocumentDriveDocument>;
53
56
  declare function addRemoteDrive(url: string, driveId?: string, options?: AddRemoteDriveOptions): Promise<string>;
54
57
  declare function deleteDrive(driveId: string): Promise<void>;
55
- declare function renameDrive(driveId: string, name: string): Promise<PHDocument$2 | undefined>;
56
- declare function setDriveAvailableOffline(driveId: string, availableOffline: boolean): Promise<PHDocument$2 | undefined>;
57
- declare function setDriveSharingType(driveId: string, sharingType: SharingType): Promise<PHDocument$2 | undefined>;
58
+ declare function renameDrive(driveId: string, name: string): Promise<PHDocument$1 | undefined>;
59
+ declare function setDriveAvailableOffline(driveId: string, availableOffline: boolean): Promise<PHDocument$1 | undefined>;
60
+ declare function setDriveSharingType(driveId: string, sharingType: SharingType): Promise<PHDocument$1 | undefined>;
58
61
  //#endregion
59
62
  //#region src/constants.d.ts
60
63
  declare const DEFAULT_DRIVE_EDITOR_ID = "powerhouse/generic-drive-explorer";
61
64
  declare const COMMON_PACKAGE_ID = "powerhouse/common";
62
65
  //#endregion
63
66
  //#region src/types/documents.d.ts
64
- type DocumentDispatch<TAction extends Action> = (actionOrActions: TAction | TAction[] | DocumentAction | DocumentAction[] | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$2) => void) => void;
67
+ type DocumentDispatch<TAction extends Action> = (actionOrActions: TAction | TAction[] | DocumentAction | DocumentAction[] | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void) => void;
65
68
  type PromiseWithState<T> = Promise<T> & PromiseState<T>;
66
69
  type FulfilledPromise<T> = Promise<T> & {
67
70
  status: "fulfilled";
@@ -81,8 +84,8 @@ type PromiseState<T> = {
81
84
  reason: unknown;
82
85
  };
83
86
  interface IDocumentCache {
84
- get(id: string, refetch?: boolean): Promise<PHDocument$2>;
85
- getBatch(ids: string[], refetch?: boolean): Promise<PHDocument$2[]>;
87
+ get(id: string, refetch?: boolean): Promise<PHDocument$1>;
88
+ getBatch(ids: string[], refetch?: boolean): Promise<PHDocument$1[]>;
86
89
  subscribe(id: string | string[], callback: () => void): () => void;
87
90
  }
88
91
  //#endregion
@@ -106,8 +109,8 @@ declare class DocumentCache implements IDocumentCache {
106
109
  private handleDocumentDeleted;
107
110
  private handleDocumentUpdated;
108
111
  private invalidateBatchesContaining;
109
- get(id: string, refetch?: boolean): Promise<PHDocument$2>;
110
- getBatch(ids: string[]): Promise<PHDocument$2[]>;
112
+ get(id: string, refetch?: boolean): Promise<PHDocument$1>;
113
+ getBatch(ids: string[]): Promise<PHDocument$1[]>;
111
114
  subscribe(id: string | string[], callback: () => void): () => void;
112
115
  /**
113
116
  * Disposes of the cache and unsubscribes from document change events.
@@ -116,8 +119,8 @@ declare class DocumentCache implements IDocumentCache {
116
119
  }
117
120
  //#endregion
118
121
  //#region src/document-model.d.ts
119
- declare const baseDocumentModelsMap: Record<string, DocumentModelModule$2<DocumentModelPHState>>;
120
- declare const baseDocumentModels: DocumentModelModule$2<DocumentModelPHState>[];
122
+ declare const baseDocumentModelsMap: Record<string, DocumentModelModule$1<DocumentModelPHState>>;
123
+ declare const baseDocumentModels: DocumentModelModule$1<DocumentModelPHState>[];
121
124
  //#endregion
122
125
  //#region src/global/types.d.ts
123
126
  interface PGliteState {
@@ -143,13 +146,13 @@ declare function clearGlobal(namespace: keyof PowerhouseGlobal): void;
143
146
  //#region src/graphql/adapters.d.ts
144
147
  type QueryDocumentResult = NonNullable<GetDocumentWithOperationsQuery["document"]>["document"];
145
148
  type FindDocumentsItems = NonNullable<FindDocumentsQuery["findDocuments"]>["items"];
146
- declare function phDocumentFromQuery<TDocumentSchema extends TStateSchemaZodObject>(document: QueryDocumentResult, documentSchema?: TDocumentSchema): PHDocument$1;
147
- declare function phDocumentsFromQuery<TDocumentSchema extends TStateSchemaZodObject>(items: FindDocumentsItems, documentSchema?: TDocumentSchema): any;
149
+ declare function phDocumentFromQuery<TDocumentSchema extends TStateSchemaZodObject>(document: QueryDocumentResult, documentSchema?: TDocumentSchema): PHDocument;
150
+ declare function phDocumentsFromQuery<TDocumentSchema extends TStateSchemaZodObject>(items: FindDocumentsItems, documentSchema?: TDocumentSchema): PHDocument[];
148
151
  declare function identifierFromMutateDocumentOperationVariables(variables: unknown): string;
149
152
  //#endregion
150
153
  //#region src/graphql/fetchers.d.ts
151
- declare function reactorGraphqlFetchDocument<TDocumentSchema extends TStateSchemaZodObject>(identifier: string, documentSchema?: TDocumentSchema): Promise<any>;
152
- declare function reactorGraphqlBatchFetchDocuments(identifiers: readonly string[]): Promise<any>;
154
+ declare function reactorGraphqlFetchDocument<TDocumentSchema extends TStateSchemaZodObject>(identifier: string, documentSchema?: TDocumentSchema): Promise<document_model0.PHDocument | undefined>;
155
+ declare function reactorGraphqlBatchFetchDocuments(identifiers: readonly string[]): Promise<(document_model0.PHDocument | undefined)[]>;
153
156
  //#endregion
154
157
  //#region src/graphql/graphql-client-document-cache.d.ts
155
158
  declare class GraphQLClientDocumentCache implements IDocumentCache {
@@ -158,8 +161,8 @@ declare class GraphQLClientDocumentCache implements IDocumentCache {
158
161
  private batchPromises;
159
162
  private listeners;
160
163
  constructor();
161
- get(id: string, refetch?: boolean): Promise<PHDocument$1>;
162
- getBatch(ids: string[]): Promise<PHDocument$1[]>;
164
+ get(id: string, refetch?: boolean): Promise<PHDocument>;
165
+ getBatch(ids: string[]): Promise<PHDocument[]>;
163
166
  private invalidateBatchesContaining;
164
167
  subscribe(id: string | string[], callback: () => void): () => void;
165
168
  private notify;
@@ -169,7 +172,7 @@ declare class GraphQLClientDocumentCache implements IDocumentCache {
169
172
  }
170
173
  //#endregion
171
174
  //#region src/graphql/mutators.d.ts
172
- declare function reactorGraphqlCreateDocument<TDocument extends PHDocument$1>(document: TDocument, parentIdentifier?: "powerhouse"): Promise<CreateDocumentMutation>;
175
+ declare function reactorGraphqlCreateDocument<TDocument extends PHDocument>(document: TDocument, parentIdentifier?: "powerhouse"): Promise<CreateDocumentMutation>;
173
176
  declare function reactorGraphqlDeleteDocument(identifier: string): Promise<DeleteDocumentMutation>;
174
177
  declare function reactorGraphqlDeleteDocuments(identifiers: string[]): Promise<DeleteDocumentsMutation>;
175
178
  declare function reactorGraphqlMutateDocument(documentIdentifier: string, ...actions: ReadonlyArray<Scalars["JSONObject"]["input"]>): Promise<MutateDocumentMutation>;
@@ -188,11 +191,11 @@ declare function addPHEventHandlers(): void;
188
191
  declare function callEventHandlerRegisterFunctions(registerFunctions: Record<string, () => void>): void;
189
192
  //#endregion
190
193
  //#region src/hooks/allowed-document-model-modules.d.ts
191
- declare function useAllowedDocumentModelModules(): DocumentModelModule[] | undefined;
194
+ declare function useAllowedDocumentModelModules(): document_model0.DocumentModelModule[] | undefined;
192
195
  //#endregion
193
196
  //#region src/hooks/child-nodes.d.ts
194
197
  /** Returns the child nodes for the selected drive or folder. */
195
- declare function useNodesInSelectedDriveOrFolder(): Node$1[];
198
+ declare function useNodesInSelectedDriveOrFolder(): Node[];
196
199
  //#endregion
197
200
  //#region src/hooks/config/connect.d.ts
198
201
  declare const useRouterBasename: () => string | undefined, setRouterBasename: (value: string | undefined) => void, addRouterBasenameEventHandler: () => void;
@@ -546,7 +549,7 @@ type DiscoveryEvent = {
546
549
  };
547
550
  type DiscoveryEventListener = (event: DiscoveryEvent) => void;
548
551
  interface IPackageDiscoveryService {
549
- load(documentType: string): Promise<DocumentModelModule$2<any>>;
552
+ load(documentType: string): Promise<DocumentModelModule$1<any>>;
550
553
  getPendingInstallations(): PendingInstallation[];
551
554
  subscribePending(listener: () => void): () => void;
552
555
  getFailedInstallations(): FailedInstallation[];
@@ -692,7 +695,7 @@ declare const addDocumentCacheEventHandler: () => void;
692
695
  * @param id - The document ID to retrieve, or null/undefined to skip retrieval
693
696
  * @returns The document if found, or undefined if id is null/undefined
694
697
  */
695
- declare function useDocument(id: string | null | undefined): any;
698
+ declare function useDocument(id: string | null | undefined): PHDocument$1 | undefined;
696
699
  /**
697
700
  * Retrieves a document from the reactor and subscribes to changes without
698
701
  * suspending or throwing. Use this when the ID might be stale (e.g., a
@@ -717,19 +720,19 @@ declare function useDocumentSafe(id: string | null | undefined): {
717
720
  readonly data: undefined;
718
721
  readonly reload: undefined;
719
722
  } | {
720
- readonly reload: () => Promise<PHDocument>;
723
+ readonly reload: () => Promise<PHDocument$1>;
721
724
  readonly status: "pending";
722
725
  readonly isPending: true;
723
726
  readonly error: undefined;
724
727
  readonly data: undefined;
725
728
  } | {
726
- readonly reload: () => Promise<PHDocument>;
729
+ readonly reload: () => Promise<PHDocument$1>;
727
730
  readonly status: "success";
728
731
  readonly isPending: false;
729
732
  readonly error: undefined;
730
- readonly data: PHDocument;
733
+ readonly data: PHDocument$1;
731
734
  } | {
732
- readonly reload: () => Promise<PHDocument>;
735
+ readonly reload: () => Promise<PHDocument$1>;
733
736
  readonly status: "error";
734
737
  readonly isPending: false;
735
738
  readonly error: unknown;
@@ -745,19 +748,19 @@ declare function useDocumentSafe(id: string | null | undefined): {
745
748
  * @param ids - Array of document IDs to retrieve, or null/undefined to skip retrieval
746
749
  * @returns An array of documents if found, or empty array if ids is null/undefined
747
750
  */
748
- declare function useDocuments(ids: string[] | null | undefined): PHDocument[];
751
+ declare function useDocuments(ids: string[] | null | undefined): PHDocument$1[];
749
752
  /**
750
753
  * Returns a function to retrieve a document from the cache.
751
754
  * The returned function fetches and returns a document by ID.
752
755
  * @returns A function that takes a document ID and returns a Promise of the document
753
756
  */
754
- declare function useGetDocument(): (id: string) => Promise<PHDocument>;
757
+ declare function useGetDocument(): (id: string) => Promise<PHDocument$1>;
755
758
  /**
756
759
  * Returns a function to retrieve multiple documents from the cache.
757
760
  * The returned function fetches and returns documents by their IDs.
758
761
  * @returns A function that takes an array of document IDs and returns a Promise of the documents
759
762
  */
760
- declare function useGetDocuments(): (ids: string[]) => Promise<PHDocument[]>;
763
+ declare function useGetDocuments(): (ids: string[]) => Promise<PHDocument$1[]>;
761
764
  /**
762
765
  * Retrieves a document from the reactor without suspending rendering.
763
766
  * Returns the current state of the document loading operation.
@@ -776,19 +779,19 @@ declare function useGetDocumentAsync(id: string | null | undefined): {
776
779
  readonly error: undefined;
777
780
  readonly reload: undefined;
778
781
  } | {
779
- readonly reload: () => Promise<PHDocument>;
782
+ readonly reload: () => Promise<PHDocument$1>;
780
783
  readonly status: "pending";
781
784
  readonly isPending: true;
782
785
  readonly error: undefined;
783
786
  readonly data: undefined;
784
787
  } | {
785
- readonly reload: () => Promise<PHDocument>;
788
+ readonly reload: () => Promise<PHDocument$1>;
786
789
  readonly status: "success";
787
790
  readonly isPending: false;
788
791
  readonly error: undefined;
789
- readonly data: PHDocument;
792
+ readonly data: PHDocument$1;
790
793
  } | {
791
- readonly reload: () => Promise<PHDocument>;
794
+ readonly reload: () => Promise<PHDocument$1>;
792
795
  readonly status: "error";
793
796
  readonly isPending: false;
794
797
  readonly error: unknown;
@@ -821,7 +824,7 @@ declare const setReactorClient: SetPHGlobalValue$1<IReactorClient>;
821
824
  /** Adds an event handler for the reactor client */
822
825
  declare const addReactorClientEventHandler: AddPHGlobalEventHandler$1;
823
826
  declare const useSync: () => ISyncManager | undefined;
824
- declare const useSyncList: () => any;
827
+ declare const useSyncList: () => _powerhousedao_reactor0.Remote[];
825
828
  declare const useModelRegistry: () => IDocumentModelRegistry | undefined;
826
829
  declare const useDatabase: () => Kysely<Database$1> | undefined;
827
830
  declare const usePGlite: () => PGlite | undefined;
@@ -845,7 +848,7 @@ declare const useRenown: () => IRenown | LOADING | undefined;
845
848
  /** Sets the renown instance */
846
849
  declare const setRenown: (value: IRenown | LOADING | undefined) => void;
847
850
  /** Returns the DID from the renown instance */
848
- declare function useDid(): any;
851
+ declare function useDid(): string | undefined;
849
852
  /** Returns the current user from the renown instance, subscribing to user events */
850
853
  declare function useUser(): User | undefined;
851
854
  /** Returns the login status, subscribing to renown status events */
@@ -858,23 +861,23 @@ declare function useLoginStatus(): LoginStatus | "loading" | undefined;
858
861
  * @param document - The document to dispatch actions to.
859
862
  * @returns A tuple containing the document and a dispatch function.
860
863
  */
861
- type DispatchFn<TAction> = (actionOrActions: TAction[] | TAction | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$2) => void) => void;
864
+ type DispatchFn<TAction> = (actionOrActions: TAction[] | TAction | undefined, onErrors?: (errors: Error[]) => void, onSuccess?: (result: PHDocument$1) => void) => void;
862
865
  type UseDispatchResult<TDocument, TAction> = readonly [TDocument | undefined, DispatchFn<TAction>];
863
- declare function useDispatch<TDocument = PHDocument$2, TAction = Action>(document: TDocument | undefined): UseDispatchResult<TDocument, TAction>;
866
+ declare function useDispatch<TDocument = PHDocument$1, TAction = Action>(document: TDocument | undefined): UseDispatchResult<TDocument, TAction>;
864
867
  //#endregion
865
868
  //#region src/hooks/document-by-id.d.ts
866
869
  /** Returns a document by id. */
867
- declare function useDocumentById(id: string | null | undefined): UseDispatchResult<PHDocument$2, Action>;
870
+ declare function useDocumentById(id: string | null | undefined): UseDispatchResult<PHDocument$1, Action>;
868
871
  /** Returns documents by ids. */
869
- declare function useDocumentsByIds(ids: string[] | null | undefined): PHDocument$2[];
872
+ declare function useDocumentsByIds(ids: string[] | null | undefined): PHDocument$1[];
870
873
  //#endregion
871
874
  //#region src/hooks/document-model-modules.d.ts
872
- declare function useDocumentModelModules(): DocumentModelModule$1[] | undefined;
873
- declare function useDocumentModelModuleById(id: string | null | undefined): DocumentModelModule$1 | undefined;
875
+ declare function useDocumentModelModules(): DocumentModelModule[] | undefined;
876
+ declare function useDocumentModelModuleById(id: string | null | undefined): DocumentModelModule | undefined;
874
877
  //#endregion
875
878
  //#region src/hooks/document-of-type.d.ts
876
879
  /** Returns a document of a specific type, throws an error if the found document has a different type */
877
- declare function useDocumentOfType<TDocument extends PHDocument$2, TAction extends Action>(documentId: string | null | undefined, documentType: string | null | undefined): never[] | [TDocument, DocumentDispatch$1<TAction>];
880
+ declare function useDocumentOfType<TDocument extends PHDocument$1, TAction extends Action>(documentId: string | null | undefined, documentType: string | null | undefined): never[] | [TDocument, DocumentDispatch$1<TAction>];
878
881
  //#endregion
879
882
  //#region src/hooks/document-operations.d.ts
880
883
  type InternalState = {
@@ -901,10 +904,11 @@ declare function useDocumentOperations(documentId: string | null | undefined): D
901
904
  * If present, uses the `allowedDocumentTypes` config value.
902
905
  * Otherwise, uses the supported document types from the reactor.
903
906
  */
904
- declare function useDocumentTypes(): any[] | undefined;
907
+ declare function useDocumentTypes(): string[] | undefined;
905
908
  //#endregion
906
909
  //#region src/hooks/file-drag-and-drop.d.ts
907
- declare function useDropFile(handleAddFile: (file: File, parent: Node$2 | undefined) => Promise<void>): {
910
+ declare const EDITOR_FILE_DROP_OPT_OUT_ATTR = "data-accepts-files";
911
+ declare function useDropFile(handleAddFile: (file: File, parent: Node$1 | undefined) => Promise<void>): {
908
912
  onDragEnter: DragEventHandler;
909
913
  onDragOver: DragEventHandler;
910
914
  onDragLeave: DragEventHandler;
@@ -916,7 +920,7 @@ declare function useDropFile(handleAddFile: (file: File, parent: Node$2 | undefi
916
920
  declare function useDownloadDocument(id: string | undefined): () => void;
917
921
  //#endregion
918
922
  //#region src/hooks/drive-by-id.d.ts
919
- declare function useDriveById(driveId: string | undefined | null): [DocumentDriveDocument, DocumentDispatch<DocumentDriveAction$1>];
923
+ declare function useDriveById(driveId: string | undefined | null): [DocumentDriveDocument, DocumentDispatch<DocumentDriveAction>];
920
924
  //#endregion
921
925
  //#region src/hooks/editor-modules.d.ts
922
926
  declare function useEditorModules(): EditorModule[] | undefined;
@@ -945,25 +949,25 @@ declare function useInitReactorGraphqlClient(switchboardUrl?: "http://localhost:
945
949
  //#endregion
946
950
  //#region src/hooks/items-in-selected-drive.d.ts
947
951
  /** Returns the nodes in the selected drive. */
948
- declare function useNodesInSelectedDrive(): any;
952
+ declare function useNodesInSelectedDrive(): _powerhousedao_shared_document_drive0.Node[] | undefined;
949
953
  /** Returns the file nodes in the selected drive. */
950
954
  declare function useFileNodesInSelectedDrive(): FileNode[] | undefined;
951
955
  /** Returns the folder nodes in the selected drive. */
952
956
  declare function useFolderNodesInSelectedDrive(): FolderNode[] | undefined;
953
957
  /** Returns the documents in the selected drive. */
954
- declare function useDocumentsInSelectedDrive(): PHDocument$2[] | undefined;
958
+ declare function useDocumentsInSelectedDrive(): PHDocument$1[] | undefined;
955
959
  /** Returns the document types supported by the selected drive, as defined by the document model documents present in the drive */
956
- declare function useDocumentTypesInSelectedDrive(): any[] | undefined;
960
+ declare function useDocumentTypesInSelectedDrive(): string[] | undefined;
957
961
  //#endregion
958
962
  //#region src/hooks/items-in-selected-folder.d.ts
959
963
  /** Returns the nodes in the selected folder. */
960
- declare function useNodesInSelectedFolder(): Node$1[] | undefined;
964
+ declare function useNodesInSelectedFolder(): Node[] | undefined;
961
965
  /** Returns the file nodes in the selected folder. */
962
966
  declare function useFileNodesInSelectedFolder(): FileNode[] | undefined;
963
967
  /** Returns the folder nodes in the selected folder. */
964
968
  declare function useFolderNodesInSelectedFolder(): FolderNode[] | undefined;
965
969
  /** Returns the documents in the selected folder. */
966
- declare function useDocumentsInSelectedFolder(): PHDocument$2[] | undefined;
970
+ declare function useDocumentsInSelectedFolder(): PHDocument$1[] | undefined;
967
971
  //#endregion
968
972
  //#region src/hooks/make-ph-event-functions.d.ts
969
973
  declare function makePHEventFunctions<TKey extends PHGlobalKey$1>(key: TKey): {
@@ -986,23 +990,23 @@ declare function closePHModal(): void;
986
990
  /** Shows the create document modal */
987
991
  declare function showCreateDocumentModal(documentType: string): void;
988
992
  /** Shows the delete node modal */
989
- declare function showDeleteNodeModal(nodeOrId: Node$1 | string): void;
993
+ declare function showDeleteNodeModal(nodeOrId: Node | string): void;
990
994
  //#endregion
991
995
  //#region src/hooks/node-actions.d.ts
992
996
  declare function useNodeActions(): {
993
- onAddFile: (file: File, parent: Node$1 | undefined) => Promise<void>;
994
- onAddFolder: (name: string, parent: Node$1 | undefined) => Promise<any>;
995
- onRenameNode: (newName: string, node: Node$1) => Promise<Node$1 | undefined>;
996
- onCopyNode: (src: Node$1, target: Node$1 | undefined) => Promise<void>;
997
- onMoveNode: (src: Node$1, target: Node$1 | undefined) => Promise<void>;
998
- onDuplicateNode: (src: Node$1) => Promise<void>;
997
+ onAddFile: (file: File, parent: Node | undefined) => Promise<void>;
998
+ onAddFolder: (name: string, parent: Node | undefined) => Promise<_powerhousedao_shared_document_drive0.FolderNode | undefined>;
999
+ onRenameNode: (newName: string, node: Node) => Promise<Node | undefined>;
1000
+ onCopyNode: (src: Node, target: Node | undefined) => Promise<void>;
1001
+ onMoveNode: (src: Node, target: Node | undefined) => Promise<void>;
1002
+ onDuplicateNode: (src: Node) => Promise<void>;
999
1003
  onAddAndSelectNewFolder: (name: string) => Promise<void>;
1000
1004
  onRenameDriveNodes: (newName: string, nodeId: string) => Promise<void>;
1001
1005
  };
1002
1006
  //#endregion
1003
1007
  //#region src/hooks/node-by-id.d.ts
1004
1008
  /** Returns a node in the selected drive by id. */
1005
- declare function useNodeById(id: string | null | undefined): Node$1 | undefined;
1009
+ declare function useNodeById(id: string | null | undefined): Node | undefined;
1006
1010
  //#endregion
1007
1011
  //#region src/hooks/node-path.d.ts
1008
1012
  /** Returns the path to a node in the selected drive */
@@ -1017,7 +1021,7 @@ declare const addPackageDiscoveryServiceEventHandler: () => void;
1017
1021
  //#endregion
1018
1022
  //#region src/hooks/parent-folder.d.ts
1019
1023
  declare function useNodeParentFolderById(id: string | null | undefined): FolderNode | undefined;
1020
- declare function useParentFolderForSelectedNode(): any;
1024
+ declare function useParentFolderForSelectedNode(): FolderNode | undefined;
1021
1025
  //#endregion
1022
1026
  //#region src/hooks/revision-history.d.ts
1023
1027
  /** Returns whether revision history is visible */
@@ -1035,12 +1039,12 @@ declare function hideRevisionHistory(): void;
1035
1039
  /** Returns the selected document id */
1036
1040
  declare function useSelectedDocumentId(): string | undefined;
1037
1041
  /** Returns the selected document. */
1038
- declare function useSelectedDocument(): readonly [PHDocument$2, DispatchFn<Action>];
1042
+ declare function useSelectedDocument(): readonly [PHDocument$1, DispatchFn<Action>];
1039
1043
  /** Returns the selected document. */
1040
- declare function useSelectedDocumentSafe(): UseDispatchResult<PHDocument$2, Action>;
1044
+ declare function useSelectedDocumentSafe(): UseDispatchResult<PHDocument$1, Action>;
1041
1045
  /** Returns the selected document of a specific type, throws an error if the found document has a different type */
1042
1046
  declare function useSelectedDocumentOfType(documentType: null | undefined): never[];
1043
- declare function useSelectedDocumentOfType<TDocument extends PHDocument$2, TAction extends Action>(documentType: string): [TDocument, DocumentDispatch$1<TAction>];
1047
+ declare function useSelectedDocumentOfType<TDocument extends PHDocument$1, TAction extends Action>(documentType: string): [TDocument, DocumentDispatch$1<TAction>];
1044
1048
  //#endregion
1045
1049
  //#region src/hooks/selected-drive.d.ts
1046
1050
  /** Returns the selected drive id */
@@ -1050,7 +1054,7 @@ declare const setSelectedDriveId: (value: string | undefined) => void;
1050
1054
  /** Adds an event handler for the selected drive id */
1051
1055
  declare const addSelectedDriveIdEventHandler: () => void;
1052
1056
  /** Returns the selected drive */
1053
- declare function useSelectedDrive(): readonly [undefined, undefined] | [DocumentDriveDocument, DocumentDispatch$1<DocumentDriveAction>];
1057
+ declare function useSelectedDrive(): [DocumentDriveDocument, DocumentDispatch$1<DocumentDriveAction>];
1054
1058
  /** Returns the selected drive, or undefined if no drive is selected */
1055
1059
  declare function useSelectedDriveSafe(): readonly [undefined, undefined] | [DocumentDriveDocument, DocumentDispatch$1<DocumentDriveAction>];
1056
1060
  declare function setSelectedDrive(driveOrDriveSlug: string | DocumentDriveDocument | undefined): void;
@@ -1063,9 +1067,9 @@ declare function useSelectedFolder(): FolderNode | undefined;
1063
1067
  //#region src/hooks/selected-node.d.ts
1064
1068
  declare const addSelectedNodeIdEventHandler: () => void;
1065
1069
  /** Returns the selected node. */
1066
- declare function useSelectedNode(): Node$1 | undefined;
1070
+ declare function useSelectedNode(): Node | undefined;
1067
1071
  /** Sets the selected node (file or folder). */
1068
- declare function setSelectedNode(nodeOrNodeSlug: Node$1 | string | undefined): void;
1072
+ declare function setSelectedNode(nodeOrNodeSlug: Node | string | undefined): void;
1069
1073
  declare function addResetSelectedNodeEventHandler(): void;
1070
1074
  declare function addSetSelectedNodeOnPopStateEventHandler(): void;
1071
1075
  //#endregion
@@ -1082,7 +1086,7 @@ declare function useSubgraphModules(): SubgraphModule[] | undefined;
1082
1086
  //#endregion
1083
1087
  //#region src/hooks/supported-document-types.d.ts
1084
1088
  /** Returns the supported document types for the reactor (derived from the document model modules) */
1085
- declare function useSupportedDocumentTypesInReactor(): any[] | undefined;
1089
+ declare function useSupportedDocumentTypesInReactor(): string[] | undefined;
1086
1090
  //#endregion
1087
1091
  //#region src/hooks/timeline-revision.d.ts
1088
1092
  /** Returns the selected timeline revision. */
@@ -1118,6 +1122,26 @@ type DriveSystemInfoState = {
1118
1122
  declare function deriveSystemUrl(channelUrl: string): string | null;
1119
1123
  declare function useDriveSystemInfo(drive: DocumentDriveDocument | undefined): DriveSystemInfoState;
1120
1124
  //#endregion
1125
+ //#region src/hooks/use-editor-file-drop.d.ts
1126
+ type UseEditorFileDropOptions = {
1127
+ /** Lowercase file extensions including the dot (e.g. [".png", ".pdf"]).
1128
+ * When omitted, all files are accepted. */
1129
+ accept?: readonly string[]; /** Called with the files that passed the extension filter. */
1130
+ onFiles: (files: File[]) => void;
1131
+ };
1132
+ type UseEditorFileDropResult = {
1133
+ /** Spread onto the editor's root element. Includes the opt-out attribute
1134
+ * so the outer DropZone leaves file drops alone within this subtree. */
1135
+ dragProps: {
1136
+ onDragEnter: DragEventHandler<Element>;
1137
+ onDragOver: DragEventHandler<Element>;
1138
+ onDragLeave: DragEventHandler<Element>;
1139
+ onDrop: DragEventHandler<Element>;
1140
+ } & Record<typeof EDITOR_FILE_DROP_OPT_OUT_ATTR, "">; /** True while a file drag is hovering anywhere inside the editor root. */
1141
+ isDragOver: boolean;
1142
+ };
1143
+ declare function useEditorFileDrop(options: UseEditorFileDropOptions): UseEditorFileDropResult;
1144
+ //#endregion
1121
1145
  //#region src/hooks/use-get-switchboard-link.d.ts
1122
1146
  /**
1123
1147
  * Hook that returns a function to generate a document's switchboard URL.
@@ -1130,7 +1154,7 @@ declare function useDriveSystemInfo(drive: DocumentDriveDocument | undefined): D
1130
1154
  * @param document - The document to create a switchboard URL generator for
1131
1155
  * @returns An async function that returns the switchboard URL, or null if not applicable
1132
1156
  */
1133
- declare function useGetSwitchboardLink(document: PHDocument$2 | undefined): (() => Promise<string>) | null;
1157
+ declare function useGetSwitchboardLink(document: PHDocument$1 | undefined): (() => Promise<string>) | null;
1134
1158
  //#endregion
1135
1159
  //#region src/types/upload.d.ts
1136
1160
  type DocumentTypeIcon = "analytics-processor" | "relational-processor" | "codegen-processor" | "app" | "document-model" | "editor" | "package" | "subgraph";
@@ -1192,9 +1216,9 @@ interface PublishEvent {
1192
1216
  declare class RegistryClient {
1193
1217
  readonly apiUrl: string;
1194
1218
  constructor(cdnUrl: string);
1195
- getPackages(): Promise<PackageInfo$1[]>;
1219
+ getPackages(): Promise<PackageInfo[]>;
1196
1220
  getPackagesByDocumentType(documentType: string): Promise<string[]>;
1197
- searchPackages(query: string): Promise<PackageInfo$1[]>;
1221
+ searchPackages(query: string): Promise<PackageInfo[]>;
1198
1222
  onPublish(callback: (event: PublishEvent) => void): () => void;
1199
1223
  }
1200
1224
  //#endregion
@@ -1261,7 +1285,7 @@ type ConflictStrategy = "reject" | "rebase" | MergeHandler;
1261
1285
  /** Event emitted when the document changes. */
1262
1286
  type RemoteDocumentChangeEvent = {
1263
1287
  source: "action" | "pull";
1264
- document: PHDocument$2<PHBaseState>;
1288
+ document: PHDocument$1<PHBaseState>;
1265
1289
  };
1266
1290
  /** Listener for document change events. */
1267
1291
  type DocumentChangeListener = (event: RemoteDocumentChangeEvent) => void;
@@ -1293,7 +1317,7 @@ interface IRemoteController<TState extends PHBaseState = PHBaseState> {
1293
1317
  readonly header: PHDocumentHeader;
1294
1318
  readonly state: TState;
1295
1319
  readonly operations: DocumentOperations;
1296
- readonly document: PHDocument$2<TState>;
1320
+ readonly document: PHDocument$1<TState>;
1297
1321
  readonly status: SyncStatus;
1298
1322
  onChange(listener: DocumentChangeListener): () => void;
1299
1323
  push(): Promise<PushResult>;
@@ -1394,7 +1418,7 @@ declare class RemoteDocumentController<TController extends PHDocumentController<
1394
1418
  get header(): PHDocumentHeader;
1395
1419
  get state(): InferState<TController>;
1396
1420
  get operations(): DocumentOperations;
1397
- get document(): PHDocument$2<InferState<TController>>;
1421
+ get document(): PHDocument$1<InferState<TController>>;
1398
1422
  get status(): SyncStatus;
1399
1423
  /** Register a listener for document changes. Returns an unsubscribe function. */
1400
1424
  onChange(listener: DocumentChangeListener): () => void;
@@ -1408,7 +1432,7 @@ declare class RemoteDocumentController<TController extends PHDocumentController<
1408
1432
  /**
1409
1433
  * Pull an existing document from remote and create a controller for it.
1410
1434
  */
1411
- static pull<C extends PHDocumentController<any>>(ControllerClass: new (doc?: PHDocument$2<any>) => C, options: RemoteControllerOptions): Promise<RemoteDocumentControllerWith<C>>;
1435
+ static pull<C extends PHDocumentController<any>>(ControllerClass: new (doc?: PHDocument$1<any>) => C, options: RemoteControllerOptions): Promise<RemoteDocumentControllerWith<C>>;
1412
1436
  /**
1413
1437
  * Wrap an existing controller instance with remote capabilities.
1414
1438
  * Pending local actions on the inner controller are NOT tracked
@@ -1536,18 +1560,18 @@ declare function getSyncStatusSync(documentId: string, sharingType: SharingType)
1536
1560
  //#endregion
1537
1561
  //#region src/utils/download-document.d.ts
1538
1562
  declare function defaultHandleError(error: Error): void;
1539
- declare function downloadDocument(document: PHDocument$2 | undefined, handleError?: typeof defaultHandleError): void;
1563
+ declare function downloadDocument(document: PHDocument$1 | undefined, handleError?: typeof defaultHandleError): void;
1540
1564
  //#endregion
1541
1565
  //#region src/utils/get-revision-from-date.d.ts
1542
- declare const getRevisionFromDate: (startDate?: Date, endDate?: Date, operations?: Operation[]) => any;
1566
+ declare const getRevisionFromDate: (startDate?: Date, endDate?: Date, operations?: Operation[]) => number;
1543
1567
  //#endregion
1544
1568
  //#region src/utils/nodes.d.ts
1545
1569
  /** Sorts nodes by name. */
1546
- declare function sortNodesByName<T extends Node$1>(nodes: T[]): T[];
1570
+ declare function sortNodesByName<T extends Node>(nodes: T[]): T[];
1547
1571
  /** Returns whether a node is a file. */
1548
- declare function isFileNodeKind(node: Node$1 | null | undefined): node is FileNode;
1572
+ declare function isFileNodeKind(node: Node | null | undefined): node is FileNode;
1549
1573
  /** Returns whether a node is a folder. */
1550
- declare function isFolderNodeKind(node: Node$1 | null | undefined): node is FolderNode;
1574
+ declare function isFolderNodeKind(node: Node | null | undefined): node is FolderNode;
1551
1575
  //#endregion
1552
1576
  //#region src/utils/switchboard.d.ts
1553
1577
  declare function getDriveIdBySlug(driveUrl: string, slug: string): Promise<string | undefined>;
@@ -1564,7 +1588,7 @@ declare function getPathWithoutBase(path: string): string;
1564
1588
  /** Makes a URL component for a drive. */
1565
1589
  declare function makeDriveUrlComponent(drive: DocumentDriveDocument | undefined): string;
1566
1590
  /** Makes a URL component for a node. */
1567
- declare function makeNodeSlug(node: Node$1 | undefined): string;
1591
+ declare function makeNodeSlug(node: Node | undefined): string;
1568
1592
  /** Extracts the node slug from a path.
1569
1593
  *
1570
1594
  * The path is expected to be in the format `/d/<drive-slug>/<node-slug>`.
@@ -1593,7 +1617,7 @@ declare function getUserPermissions(): {
1593
1617
  };
1594
1618
  //#endregion
1595
1619
  //#region src/utils/validate-document.d.ts
1596
- declare const validateDocument: (document: PHDocument$2) => any[];
1620
+ declare const validateDocument: (document: PHDocument$1) => ValidationError[];
1597
1621
  //#endregion
1598
- export { ActionTracker, AddPHGlobalEventHandler, BaseStorage, BrowserLocalStorage, BrowserReactorClientModule, COMMON_PACKAGE_ID, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, ConflictError, type ConflictInfo, ConflictResolution, type ConflictStrategy, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, DEFAULT_DRIVE_EDITOR_ID, DEFAULT_DRIVE_ID, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, type Database, DisconnectIcon, DiscoveryEvent, DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentDispatch, DocumentIntegrityService, DocumentTypeIcon, DraggingNode, DriveSystemInfoState, FailedInstallation, FailedInstallationReason, FileUploadProgress, FileUploadProgressCallback, FulfilledPromise, FullPHGlobalConfig, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, GraphQLClientDocumentCache, GraphQLClientDocumentEvent, GraphQLClientDocumentsEvent, GraphQLClientWindowEvents, GraphQLDocumentEventOperationName, GraphQLDocumentEvents, GraphQLDocumentEventsOperationName, GraphQLDocumentsEvents, type IChannel, IDocumentCache, type IDocumentModelLoader, IPackageDiscoveryService, IPackageListerUnsubscribe, IPackageManager, IPackagesListener, type IProcessor, type IProcessorHostModule, type IQueue, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, IStorage, InMemoryQueue, IntervalPollTimer, type Job, type JwtHandler, type KeyframeValidationIssue, LOADING, type MergeHandler, NodeKind, type OperationWithContext, PHAnalyticsGlobalConfig, PHAppConfig, PHAppConfigHooks, PHAppConfigKey, PHAppConfigSetters, PHCommonGlobalConfig, PHDocumentEditorConfig, PHDocumentEditorConfigHooks, PHDocumentEditorConfigKey, PHDocumentEditorConfigSetters, PHDrivesGlobalConfig, PHGlobal, PHGlobalConfig, PHGlobalConfigHooks, PHGlobalConfigHooksForKey, PHGlobalConfigKey, PHGlobalConfigSetters, PHGlobalConfigSettersForKey, PHGlobalEventHandlerAdders, PHGlobalKey, PHGlobalValue, PHModal, PHProcessorsGlobalConfig, PHRelationalProcessorsGlobalConfig, PHRenownGlobalConfig, PHSentryGlobalConfig, PHToastFn, PHToastOptions, PHToastType, PackageManagerInstallResult, type ParsedDriveUrl, PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, PromiseState, PromiseWithState, PropagationMode, PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_NETWORK_ID, RENOWN_URL, ReactorBuilder, ReactorClientBuilder, ReactorDefaultDrivesConfig, ReactorGraphQLClient, type RebuildResult, RefreshReactorDataConfig, RegistryClient, RejectedPromise, RelationalDbProcessor, RelationalDbWithLive, type Remote, RemoteClient, type RemoteControllerGraphQLClient, type RemoteControllerOptions, RemoteDocumentController, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteOperation, type RemoteOperationResultPage, Renown, RenownAuth, RenownAuthButton, RenownAuthButtonProps, RenownAuthStatus, RenownInitOptions, RenownLoginButton, RenownLoginButtonProps, RenownLogo, RenownProps, RenownUserButton, RenownUserButtonMenuItem, RenownUserButtonProps, SetEvent, SetPHGlobalValue, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, type SyncOperation, SyncOperationStatus, type SyncStatus, TStateSchemaZodObject, TimelineBarItem, TimelineDividerItem, TimelineItem, type TrackedAction, UISyncStatus, UseDispatchResult, UseOnDropFile, UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, addAllowListEventHandler, addAllowedDocumentTypesEventHandler, addAnalyticsDatabaseNameEventHandler, addBasePathEventHandler, addCliVersionEventHandler, addDefaultDrivesUrlEventHandler, addDisabledEditorsEventHandler, addDocument, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDrive, addDrivesEventHandler, addDrivesPreserveStrategyEventHandler, addEnabledEditorsEventHandler, addFeaturesEventHandler, addFileUploadOperationsChunkSizeEventHandler, addFolder, addGaTrackingIdEventHandler, addGraphQLReactorClientEventHandler, addIsAddCloudDrivesEnabledEventHandler, addIsAddDriveEnabledEventHandler, addIsAddLocalDrivesEnabledEventHandler, addIsAddPublicDrivesEnabledEventHandler, addIsAnalyticsDatabaseWorkerEnabledEventHandler, addIsAnalyticsEnabledEventHandler, addIsAnalyticsExternalProcessorsEnabledEventHandler, addIsCloudDrivesEnabledEventHandler, addIsDeleteCloudDrivesEnabledEventHandler, addIsDeleteLocalDrivesEnabledEventHandler, addIsDeletePublicDrivesEnabledEventHandler, addIsDiffAnalyticsEnabledEventHandler, addIsDocumentModelSelectionSettingsEnabledEventHandler, addIsDragAndDropEnabledEventHandler, addIsDriveAnalyticsEnabledEventHandler, addIsEditorDebugModeEnabledEventHandler, addIsEditorReadModeEnabledEventHandler, addIsExternalControlsEnabledEventHandler, addIsExternalPackagesEnabledEventHandler, addIsExternalProcessorsEnabledEventHandler, addIsExternalRelationalProcessorsEnabledEventHandler, addIsLocalDrivesEnabledEventHandler, addIsPublicDrivesEnabledEventHandler, addIsRelationalProcessorsEnabledEventHandler, addIsSentryTracingEnabledEventHandler, addLoadingEventHandler, addLocalDrivesEnabledEventHandler, addLogLevelEventHandler, addModalEventHandler, addPHEventHandlers, addPackageDiscoveryServiceEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addRemoteDrive, addRenownChainIdEventHandler, addRenownEventHandler, addRenownNetworkIdEventHandler, addRenownUrlEventHandler, addRequiresHardRefreshEventHandler, addResetSelectedNodeEventHandler, addRevisionHistoryVisibleEventHandler, addRouterBasenameEventHandler, addSelectedDriveIdEventHandler, addSelectedNodeIdEventHandler, addSelectedTimelineItemEventHandler, addSelectedTimelineRevisionEventHandler, addSentryDsnEventHandler, addSentryEnvEventHandler, addSentryReleaseEventHandler, addSetSelectedDriveOnPopStateEventHandler, addSetSelectedNodeOnPopStateEventHandler, addStudioModeEventHandler, addToastEventHandler, addVersionCheckIntervalEventHandler, addVersionEventHandler, addVetraPackageManagerEventHandler, addWarnOutdatedAppEventHandler, baseDocumentModels, baseDocumentModelsMap, buildDocumentSubgraphQuery, buildDocumentSubgraphUrl, callEventHandlerRegisterFunctions, callGlobalSetterForKey, clearGlobal, closePHModal, commonGlobalEventHandlerFunctions, convertRemoteOperations, createAnalyticsStore, createClient, createProcessorQuery, createUrlWithPreservedParams, deleteDrive, deleteNode, deriveSystemUrl, dispatchActions, downloadDocument, driveCollectionId, driveIdFromUrl, dropAllReactorStorage, exportFile, extractDriveIdFromPath, extractDriveIdFromSlug, extractDriveSlugFromPath, extractNodeIdFromPath, extractNodeIdFromSlug, extractNodeSlugFromPath, findUuid, getAnalyticsStore, getDocumentGraphqlQuery, getDriveIdBySlug, getDrives, getGlobal, getPackages, getPackagesByDocumentType, getPathWithoutBase, getRevisionFromDate, getSlugFromDriveUrl, getSwitchboardGatewayUrlFromDriveUrl, getSyncStatus, getSyncStatusSync, getUserPermissions, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, hideRevisionHistory, identifierFromMutateDocumentOperationVariables, initConnectCrypto, initRenownCrypto, isDocumentTypeSupported, isExternalControlsEnabledEventFunctions, isFileNodeKind, isFolderNodeKind, loading, login, logout, makeDriveUrlComponent, makeNodeSlug, makePHEventFunctions, openRenown, parseDriveUrl, phAppConfigHooks, phAppConfigSetters, phDocumentEditorConfigHooks, phDocumentEditorConfigSetters, phDocumentFromQuery, phDocumentsFromQuery, phGlobalConfigHooks, phGlobalConfigSetters, reactorGraphqlBatchFetchDocuments, reactorGraphqlCreateDocument, reactorGraphqlDeleteDocument, reactorGraphqlDeleteDocuments, reactorGraphqlFetchDocument, reactorGraphqlMutateDocument, readPromiseState, refreshReactorData, refreshReactorDataClient, renameDrive, renameDriveNode, resolveUrlPathname, setAllowList, setAllowedDocumentTypes, setAnalyticsDatabaseName, setBasePath, setCliVersion, setDefaultDrivesUrl, setDefaultPHGlobalConfig, setDisabledEditors, setDocumentCache, setDriveAvailableOffline, setDriveSharingType, setDrives, setDrivesPreserveStrategy, setEnabledEditors, setFeatures, setFileUploadOperationsChunkSize, setGaTrackingId, setGlobal, setGraphQLReactorClient, setIsAddCloudDrivesEnabled, setIsAddDriveEnabled, setIsAddLocalDrivesEnabled, setIsAddPublicDrivesEnabled, setIsAnalyticsDatabaseWorkerEnabled, setIsAnalyticsEnabled, setIsAnalyticsExternalProcessorsEnabled, setIsCloudDrivesEnabled, setIsDeleteCloudDrivesEnabled, setIsDeleteLocalDrivesEnabled, setIsDeletePublicDrivesEnabled, setIsDiffAnalyticsEnabled, setIsDocumentModelSelectionSettingsEnabled, setIsDragAndDropEnabled, setIsDriveAnalyticsEnabled, setIsEditorDebugModeEnabled, setIsEditorReadModeEnabled, setIsExternalControlsEnabled, setIsExternalPackagesEnabled, setIsExternalProcessorsEnabled, setIsExternalRelationalProcessorsEnabled, setIsLocalDrivesEnabled, setIsPublicDrivesEnabled, setIsRelationalProcessorsEnabled, setIsSentryTracingEnabled, setLoading, setLocalDrivesEnabled, setLogLevel, setPHAppConfig, setPHAppConfigByKey, setPHDocumentEditorConfig, setPHDocumentEditorConfigByKey, setPHGlobalConfig, setPHGlobalConfigByKey, setPHModal, setPHToast, setPackageDiscoveryService, setReactorClient, setReactorClientModule, setRenown, setRenownChainId, setRenownNetworkId, setRenownUrl, setRequiresHardRefresh, setRevisionHistoryVisible, setRouterBasename, setSelectedDrive, setSelectedDriveId, setSelectedNode, setSelectedTimelineItem, setSelectedTimelineRevision, setSentryDsn, setSentryEnv, setSentryRelease, setStudioMode, setVersion, setVersionCheckInterval, setVetraPackageManager, setWarnOutdatedApp, showCreateDocumentModal, showDeleteNodeModal, showPHModal, showRevisionHistory, sortNodesByName, trimTrailingSlash, truncateAllTables, useAllowList, useAllowedDocumentModelModules, useAllowedDocumentTypes, useAnalyticsDatabaseName, useAppModuleById, useAppModules, useBasePath, useCliVersion, useConnectionState, useConnectionStates, useDatabase, useDefaultAppModule, useDefaultDrivesUrl, useDid, useDisabledEditors, useDispatch, useDocument, useDocumentById, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOfType, useDocumentOperations, useDocumentSafe, useDocumentTypes, useDocumentTypesInSelectedDrive, useDocuments, useDocumentsByIds, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useDownloadDocument, useDragNode, useDriveById, useDriveSystemInfo, useDrives, useDrivesPreserveStrategy, useDropFile, useDropNode, useEditorModuleById, useEditorModules, useEditorModulesForDocumentType, useEnabledEditors, useFallbackEditorModule, useFeatures, useFileNodesInSelectedDrive, useFileNodesInSelectedFolder, useFileUploadOperationsChunkSize, useFolderById, useFolderNodesInSelectedDrive, useFolderNodesInSelectedFolder, useGaTrackingId, useGetDocument, useGetDocumentAsync, useGetDocuments, useGetSwitchboardLink, useGraphQLReactorClient, useInitReactorGraphqlClient, useIsAddCloudDrivesEnabled, useIsAddDriveEnabled, useIsAddLocalDrivesEnabled, useIsAddPublicDrivesEnabled, useIsAnalyticsDatabaseWorkerEnabled, useIsAnalyticsEnabled, useIsAnalyticsExternalProcessorsEnabled, useIsCloudDrivesEnabled, useIsDeleteCloudDrivesEnabled, useIsDeleteLocalDrivesEnabled, useIsDeletePublicDrivesEnabled, useIsDiffAnalyticsEnabled, useIsDocumentModelSelectionSettingsEnabled, useIsDragAndDropEnabled, useIsDriveAnalyticsEnabled, useIsEditorDebugModeEnabled, useIsEditorReadModeEnabled, useIsExternalControlsEnabled, useIsExternalPackagesEnabled, useIsExternalProcessorsEnabled, useIsExternalRelationalProcessorsEnabled, useIsLocalDrivesEnabled, useIsPublicDrivesEnabled, useIsRelationalProcessorsEnabled, useIsSentryTracingEnabled, useLoading, useLocalDrivesEnabled, useLogLevel, useLoginStatus, useModelRegistry, useNodeActions, useNodeById, useNodeParentFolderById, useNodePathById, useNodesInSelectedDrive, useNodesInSelectedDriveOrFolder, useNodesInSelectedFolder, useOnDropFile, usePGlite, usePHAppConfigByKey, usePHDocumentEditorConfigByKey, usePHGlobalConfigByKey, usePHModal, usePHToast, usePackageDiscoveryService, useParentFolderForSelectedNode, useReactorClient, useReactorClientModule, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownChainId, useRenownInit, useRenownNetworkId, useRenownUrl, useRequiresHardRefresh, useResetPHGlobalConfig, useRevisionHistoryVisible, useRouterBasename, useSelectedDocument, useSelectedDocumentId, useSelectedDocumentOfType, useSelectedDocumentSafe, useSelectedDrive, useSelectedDriveId, useSelectedDriveSafe, useSelectedFolder, useSelectedNode, useSelectedNodePath, useSelectedTimelineItem, useSelectedTimelineRevision, useSentryDsn, useSentryEnv, useSentryRelease, useSetDefaultPHGlobalConfig, useSetPHAppConfig, useSetPHDocumentEditorConfig, useSetPHGlobalConfig, useStudioMode, useSubgraphModules, useSupportedDocumentTypesInReactor, useSync, useSyncList, useUser, useUserPermissions, useVersion, useVersionCheckInterval, useVetraPackageManager, useVetraPackages, useWarnOutdatedApp, validateDocument };
1622
+ export { ActionTracker, AddPHGlobalEventHandler, BaseStorage, BrowserLocalStorage, BrowserReactorClientModule, COMMON_PACKAGE_ID, CREDENTIAL_SCHEMA_EIP712_TYPE, CREDENTIAL_SUBJECT_TYPE, CREDENTIAL_TYPES, ChannelScheme, ChevronDownIcon, ConflictError, type ConflictInfo, ConflictResolution, type ConflictStrategy, type ConnectionState, type ConnectionStateSnapshot, CopyIcon, CreateStoreOptions, DEFAULT_DRIVE_EDITOR_ID, DEFAULT_DRIVE_ID, DEFAULT_SWITCHBOARD_URL, DOMAIN_TYPE, type Database, DisconnectIcon, DiscoveryEvent, DiscoveryEventListener, DispatchFn, DocumentCache, type RemoteDocumentChangeEvent as DocumentChangeEvent, type DocumentChangeListener, DocumentChangeType, DocumentDispatch, DocumentIntegrityService, DocumentTypeIcon, DraggingNode, DriveSystemInfoState, EDITOR_FILE_DROP_OPT_OUT_ATTR, FailedInstallation, FailedInstallationReason, FileUploadProgress, FileUploadProgressCallback, FulfilledPromise, FullPHGlobalConfig, type GetDocumentResult, type GetDocumentWithOperationsResult, type GetOperationsResult, GqlRequestChannel, GraphQLClientDocumentCache, GraphQLClientDocumentEvent, GraphQLClientDocumentsEvent, GraphQLClientWindowEvents, GraphQLDocumentEventOperationName, GraphQLDocumentEvents, GraphQLDocumentEventsOperationName, GraphQLDocumentsEvents, type IChannel, IDocumentCache, type IDocumentModelLoader, IPackageDiscoveryService, IPackageListerUnsubscribe, IPackageManager, IPackagesListener, type IProcessor, type IProcessorHostModule, type IQueue, type IRelationalDb, type IRemoteClient, type IRemoteController, ISSUER_TYPE, IStorage, InMemoryQueue, IntervalPollTimer, type Job, type JwtHandler, type KeyframeValidationIssue, LOADING, type MergeHandler, NodeKind, type OperationWithContext, PHAnalyticsGlobalConfig, PHAppConfig, PHAppConfigHooks, PHAppConfigKey, PHAppConfigSetters, PHCommonGlobalConfig, PHDocumentEditorConfig, PHDocumentEditorConfigHooks, PHDocumentEditorConfigKey, PHDocumentEditorConfigSetters, PHDrivesGlobalConfig, PHGlobal, PHGlobalConfig, PHGlobalConfigHooks, PHGlobalConfigHooksForKey, PHGlobalConfigKey, PHGlobalConfigSetters, PHGlobalConfigSettersForKey, PHGlobalEventHandlerAdders, PHGlobalKey, PHGlobalValue, PHModal, PHProcessorsGlobalConfig, PHRelationalProcessorsGlobalConfig, PHRenownGlobalConfig, PHSentryGlobalConfig, PHToastFn, PHToastOptions, PHToastType, PackageManagerInstallResult, type ParsedDriveUrl, PendingInstallation, PollBehavior, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, PromiseState, PromiseWithState, PropagationMode, PublishEvent, type PushResult, QueryCallbackReturnType, REACTOR_SCHEMA, RENOWN_CHAIN_ID, RENOWN_NETWORK_ID, RENOWN_URL, ReactorBuilder, ReactorClientBuilder, ReactorDefaultDrivesConfig, ReactorGraphQLClient, type RebuildResult, RefreshReactorDataConfig, RegistryClient, RejectedPromise, RelationalDbProcessor, RelationalDbWithLive, type Remote, RemoteClient, type RemoteControllerGraphQLClient, type RemoteControllerOptions, RemoteDocumentController, type RemoteDocumentControllerWith, type RemoteDocumentData, type RemoteOperation, type RemoteOperationResultPage, Renown, RenownAuth, RenownAuthButton, RenownAuthButtonProps, RenownAuthStatus, RenownInitOptions, RenownLoginButton, RenownLoginButtonProps, RenownLogo, RenownProps, RenownUserButton, RenownUserButtonMenuItem, RenownUserButtonProps, SetEvent, SetPHGlobalValue, type SignerConfig, type SnapshotValidationIssue, SpinnerIcon, type SyncOperation, SyncOperationStatus, type SyncStatus, TStateSchemaZodObject, TimelineBarItem, TimelineDividerItem, TimelineItem, type TrackedAction, UISyncStatus, UseDispatchResult, UseEditorFileDropOptions, UseEditorFileDropResult, UseOnDropFile, UsePHGlobalValue, UserIcon, VERIFIABLE_CREDENTIAL_EIP712_TYPE, type ValidationResult, addAllowListEventHandler, addAllowedDocumentTypesEventHandler, addAnalyticsDatabaseNameEventHandler, addBasePathEventHandler, addCliVersionEventHandler, addDefaultDrivesUrlEventHandler, addDisabledEditorsEventHandler, addDocument, addDocumentCacheEventHandler, addDraggingNodeEventHandler, addDrive, addDrivesEventHandler, addDrivesPreserveStrategyEventHandler, addEnabledEditorsEventHandler, addFeaturesEventHandler, addFileUploadOperationsChunkSizeEventHandler, addFolder, addGaTrackingIdEventHandler, addGraphQLReactorClientEventHandler, addIsAddCloudDrivesEnabledEventHandler, addIsAddDriveEnabledEventHandler, addIsAddLocalDrivesEnabledEventHandler, addIsAddPublicDrivesEnabledEventHandler, addIsAnalyticsDatabaseWorkerEnabledEventHandler, addIsAnalyticsEnabledEventHandler, addIsAnalyticsExternalProcessorsEnabledEventHandler, addIsCloudDrivesEnabledEventHandler, addIsDeleteCloudDrivesEnabledEventHandler, addIsDeleteLocalDrivesEnabledEventHandler, addIsDeletePublicDrivesEnabledEventHandler, addIsDiffAnalyticsEnabledEventHandler, addIsDocumentModelSelectionSettingsEnabledEventHandler, addIsDragAndDropEnabledEventHandler, addIsDriveAnalyticsEnabledEventHandler, addIsEditorDebugModeEnabledEventHandler, addIsEditorReadModeEnabledEventHandler, addIsExternalControlsEnabledEventHandler, addIsExternalPackagesEnabledEventHandler, addIsExternalProcessorsEnabledEventHandler, addIsExternalRelationalProcessorsEnabledEventHandler, addIsLocalDrivesEnabledEventHandler, addIsPublicDrivesEnabledEventHandler, addIsRelationalProcessorsEnabledEventHandler, addIsSentryTracingEnabledEventHandler, addLoadingEventHandler, addLocalDrivesEnabledEventHandler, addLogLevelEventHandler, addModalEventHandler, addPHEventHandlers, addPackageDiscoveryServiceEventHandler, addPromiseState, addReactorClientEventHandler, addReactorClientModuleEventHandler, addRemoteDrive, addRenownChainIdEventHandler, addRenownEventHandler, addRenownNetworkIdEventHandler, addRenownUrlEventHandler, addRequiresHardRefreshEventHandler, addResetSelectedNodeEventHandler, addRevisionHistoryVisibleEventHandler, addRouterBasenameEventHandler, addSelectedDriveIdEventHandler, addSelectedNodeIdEventHandler, addSelectedTimelineItemEventHandler, addSelectedTimelineRevisionEventHandler, addSentryDsnEventHandler, addSentryEnvEventHandler, addSentryReleaseEventHandler, addSetSelectedDriveOnPopStateEventHandler, addSetSelectedNodeOnPopStateEventHandler, addStudioModeEventHandler, addToastEventHandler, addVersionCheckIntervalEventHandler, addVersionEventHandler, addVetraPackageManagerEventHandler, addWarnOutdatedAppEventHandler, baseDocumentModels, baseDocumentModelsMap, buildDocumentSubgraphQuery, buildDocumentSubgraphUrl, callEventHandlerRegisterFunctions, callGlobalSetterForKey, clearGlobal, closePHModal, commonGlobalEventHandlerFunctions, convertRemoteOperations, createAnalyticsStore, createClient, createProcessorQuery, createUrlWithPreservedParams, deleteDrive, deleteNode, deriveSystemUrl, dispatchActions, downloadDocument, driveCollectionId, driveIdFromUrl, dropAllReactorStorage, exportFile, extractDriveIdFromPath, extractDriveIdFromSlug, extractDriveSlugFromPath, extractNodeIdFromPath, extractNodeIdFromSlug, extractNodeSlugFromPath, findUuid, getAnalyticsStore, getDocumentGraphqlQuery, getDriveIdBySlug, getDrives, getGlobal, getPackages, getPackagesByDocumentType, getPathWithoutBase, getRevisionFromDate, getSlugFromDriveUrl, getSwitchboardGatewayUrlFromDriveUrl, getSyncStatus, getSyncStatusSync, getUserPermissions, graphqlDocumentEvents, graphqlDocumentsEvents, graphqlEventsToSyncDrive, hideRevisionHistory, identifierFromMutateDocumentOperationVariables, initConnectCrypto, initRenownCrypto, isDocumentTypeSupported, isExternalControlsEnabledEventFunctions, isFileNodeKind, isFolderNodeKind, loading, login, logout, makeDriveUrlComponent, makeNodeSlug, makePHEventFunctions, openRenown, parseDriveUrl, phAppConfigHooks, phAppConfigSetters, phDocumentEditorConfigHooks, phDocumentEditorConfigSetters, phDocumentFromQuery, phDocumentsFromQuery, phGlobalConfigHooks, phGlobalConfigSetters, reactorGraphqlBatchFetchDocuments, reactorGraphqlCreateDocument, reactorGraphqlDeleteDocument, reactorGraphqlDeleteDocuments, reactorGraphqlFetchDocument, reactorGraphqlMutateDocument, readPromiseState, refreshReactorData, refreshReactorDataClient, renameDrive, renameDriveNode, resolveUrlPathname, setAllowList, setAllowedDocumentTypes, setAnalyticsDatabaseName, setBasePath, setCliVersion, setDefaultDrivesUrl, setDefaultPHGlobalConfig, setDisabledEditors, setDocumentCache, setDriveAvailableOffline, setDriveSharingType, setDrives, setDrivesPreserveStrategy, setEnabledEditors, setFeatures, setFileUploadOperationsChunkSize, setGaTrackingId, setGlobal, setGraphQLReactorClient, setIsAddCloudDrivesEnabled, setIsAddDriveEnabled, setIsAddLocalDrivesEnabled, setIsAddPublicDrivesEnabled, setIsAnalyticsDatabaseWorkerEnabled, setIsAnalyticsEnabled, setIsAnalyticsExternalProcessorsEnabled, setIsCloudDrivesEnabled, setIsDeleteCloudDrivesEnabled, setIsDeleteLocalDrivesEnabled, setIsDeletePublicDrivesEnabled, setIsDiffAnalyticsEnabled, setIsDocumentModelSelectionSettingsEnabled, setIsDragAndDropEnabled, setIsDriveAnalyticsEnabled, setIsEditorDebugModeEnabled, setIsEditorReadModeEnabled, setIsExternalControlsEnabled, setIsExternalPackagesEnabled, setIsExternalProcessorsEnabled, setIsExternalRelationalProcessorsEnabled, setIsLocalDrivesEnabled, setIsPublicDrivesEnabled, setIsRelationalProcessorsEnabled, setIsSentryTracingEnabled, setLoading, setLocalDrivesEnabled, setLogLevel, setPHAppConfig, setPHAppConfigByKey, setPHDocumentEditorConfig, setPHDocumentEditorConfigByKey, setPHGlobalConfig, setPHGlobalConfigByKey, setPHModal, setPHToast, setPackageDiscoveryService, setReactorClient, setReactorClientModule, setRenown, setRenownChainId, setRenownNetworkId, setRenownUrl, setRequiresHardRefresh, setRevisionHistoryVisible, setRouterBasename, setSelectedDrive, setSelectedDriveId, setSelectedNode, setSelectedTimelineItem, setSelectedTimelineRevision, setSentryDsn, setSentryEnv, setSentryRelease, setStudioMode, setVersion, setVersionCheckInterval, setVetraPackageManager, setWarnOutdatedApp, showCreateDocumentModal, showDeleteNodeModal, showPHModal, showRevisionHistory, sortNodesByName, trimTrailingSlash, truncateAllTables, useAllowList, useAllowedDocumentModelModules, useAllowedDocumentTypes, useAnalyticsDatabaseName, useAppModuleById, useAppModules, useBasePath, useCliVersion, useConnectionState, useConnectionStates, useDatabase, useDefaultAppModule, useDefaultDrivesUrl, useDid, useDisabledEditors, useDispatch, useDocument, useDocumentById, useDocumentCache, useDocumentModelModuleById, useDocumentModelModules, useDocumentOfType, useDocumentOperations, useDocumentSafe, useDocumentTypes, useDocumentTypesInSelectedDrive, useDocuments, useDocumentsByIds, useDocumentsInSelectedDrive, useDocumentsInSelectedFolder, useDownloadDocument, useDragNode, useDriveById, useDriveSystemInfo, useDrives, useDrivesPreserveStrategy, useDropFile, useDropNode, useEditorFileDrop, useEditorModuleById, useEditorModules, useEditorModulesForDocumentType, useEnabledEditors, useFallbackEditorModule, useFeatures, useFileNodesInSelectedDrive, useFileNodesInSelectedFolder, useFileUploadOperationsChunkSize, useFolderById, useFolderNodesInSelectedDrive, useFolderNodesInSelectedFolder, useGaTrackingId, useGetDocument, useGetDocumentAsync, useGetDocuments, useGetSwitchboardLink, useGraphQLReactorClient, useInitReactorGraphqlClient, useIsAddCloudDrivesEnabled, useIsAddDriveEnabled, useIsAddLocalDrivesEnabled, useIsAddPublicDrivesEnabled, useIsAnalyticsDatabaseWorkerEnabled, useIsAnalyticsEnabled, useIsAnalyticsExternalProcessorsEnabled, useIsCloudDrivesEnabled, useIsDeleteCloudDrivesEnabled, useIsDeleteLocalDrivesEnabled, useIsDeletePublicDrivesEnabled, useIsDiffAnalyticsEnabled, useIsDocumentModelSelectionSettingsEnabled, useIsDragAndDropEnabled, useIsDriveAnalyticsEnabled, useIsEditorDebugModeEnabled, useIsEditorReadModeEnabled, useIsExternalControlsEnabled, useIsExternalPackagesEnabled, useIsExternalProcessorsEnabled, useIsExternalRelationalProcessorsEnabled, useIsLocalDrivesEnabled, useIsPublicDrivesEnabled, useIsRelationalProcessorsEnabled, useIsSentryTracingEnabled, useLoading, useLocalDrivesEnabled, useLogLevel, useLoginStatus, useModelRegistry, useNodeActions, useNodeById, useNodeParentFolderById, useNodePathById, useNodesInSelectedDrive, useNodesInSelectedDriveOrFolder, useNodesInSelectedFolder, useOnDropFile, usePGlite, usePHAppConfigByKey, usePHDocumentEditorConfigByKey, usePHGlobalConfigByKey, usePHModal, usePHToast, usePackageDiscoveryService, useParentFolderForSelectedNode, useReactorClient, useReactorClientModule, useRelationalDb, useRelationalQuery, useRelationalQueryOptions, useRenown, useRenownAuth, useRenownChainId, useRenownInit, useRenownNetworkId, useRenownUrl, useRequiresHardRefresh, useResetPHGlobalConfig, useRevisionHistoryVisible, useRouterBasename, useSelectedDocument, useSelectedDocumentId, useSelectedDocumentOfType, useSelectedDocumentSafe, useSelectedDrive, useSelectedDriveId, useSelectedDriveSafe, useSelectedFolder, useSelectedNode, useSelectedNodePath, useSelectedTimelineItem, useSelectedTimelineRevision, useSentryDsn, useSentryEnv, useSentryRelease, useSetDefaultPHGlobalConfig, useSetPHAppConfig, useSetPHDocumentEditorConfig, useSetPHGlobalConfig, useStudioMode, useSubgraphModules, useSupportedDocumentTypesInReactor, useSync, useSyncList, useUser, useUserPermissions, useVersion, useVersionCheckInterval, useVetraPackageManager, useVetraPackages, useWarnOutdatedApp, validateDocument };
1599
1623
  //# sourceMappingURL=index.d.ts.map