import { A as SetNameAction, B as ZodEnum, D as Reducer, E as RedoAction, G as $ZodTypeInternals, H as ZodObject, K as $strip, M as UndoAction, N as UpgradeManifest, S as PHDocument, U as ZodString, V as ZodLiteral, W as ZodType, _ as NOOPAction, b as PHAuthState, j as SignalDispatch, k as SchemaPruneAction, l as DocumentModelUtils, m as LoadStateAction, o as DocumentModelGlobalState, r as PHDocumentController, t as ActionMap, w as PHDocumentState, x as PHBaseState, z as ZodAny } from "../../index-otPBmxzq.js";
import { t as DocumentDispatch } from "../../index-BmX8nfqX.js";
import { $ as SetEmailInput, A as AddSameAsInput, B as MakeOptional, C as SetGrantPoolsUriAction, D as GrantSystemDocument, E as SetTypeAction, F as GrantSystemType, G as RemoveSocialInput, H as ReinstateVerificationInput, I as Incremental, J as Scalars, K as RequestVerificationInput, L as InputMaybe, M as ApproveVerificationInput, N as Exact, O as GrantSystemLocalState, P as GrantSystemState, Q as SetDescriptionInput, R as MakeEmpty, S as SetExtensionsAction, T as SetOrgNameAction, U as RejectVerificationInput, V as Maybe, W as RemoveSameAsInput, X as SetContactNameInput, Y as SetCodeInput, Z as SetCoverImageInput, _ as SetCodeAction, a as RejectVerificationAction, at as SetTypeInput, b as SetDescriptionAction, c as SetPublisherWalletAction, ct as SuspendVerificationInput, d as AddSocialAction, dt as VerificationState, et as SetExtensionsInput, f as GrantSystemLinksAction, g as GrantSystemIdentityAction, h as UpdateSocialUrlAction, i as ReinstateVerificationAction, it as SetPublisherWalletInput, j as AddSocialInput, k as GrantSystemPHState, l as SuspendVerificationAction, lt as UpdateSocialUrlInput, m as RemoveSocialAction, n as ApproveVerificationAction, nt as SetImageInput, o as RequestVerificationAction, ot as Social, p as RemoveSameAsAction, q as RevokeVerificationInput, r as GrantSystemVerificationAction, rt as SetOrgNameInput, s as RevokeVerificationAction, st as SocialPlatform, t as GrantSystemAction, tt as SetGrantPoolsUriInput, u as AddSameAsAction, ut as VerificationMethod, v as SetContactNameAction, w as SetImageAction, x as SetEmailAction, y as SetCoverImageAction, z as MakeMaybe } from "../../actions-fq3QfLpy.js";

//#region document-models/grant-system/v1/gen/document-model.d.ts
declare const documentModel: DocumentModelGlobalState;
declare namespace creators_d_exports {
  export { setCode, setContactName, setCoverImage, setDescription, setEmail, setExtensions, setGrantPoolsUri, setImage, setOrgName, setType };
}
declare const setType: (input: SetTypeInput) => SetTypeAction;
declare const setCode: (input: SetCodeInput) => SetCodeAction;
declare const setDescription: (input: SetDescriptionInput) => SetDescriptionAction;
declare const setGrantPoolsUri: (input: SetGrantPoolsUriInput) => SetGrantPoolsUriAction;
declare const setExtensions: (input: SetExtensionsInput) => SetExtensionsAction;
declare const setImage: (input: SetImageInput) => SetImageAction;
declare const setCoverImage: (input: SetCoverImageInput) => SetCoverImageAction;
declare const setEmail: (input: SetEmailInput) => SetEmailAction;
declare const setContactName: (input: SetContactNameInput) => SetContactNameAction;
declare const setOrgName: (input: SetOrgNameInput) => SetOrgNameAction;
declare namespace creators_d_exports$1 {
  export { addSameAs, addSocial, removeSameAs, removeSocial, updateSocialUrl };
}
declare const addSameAs: (input: AddSameAsInput) => AddSameAsAction;
declare const removeSameAs: (input: RemoveSameAsInput) => RemoveSameAsAction;
declare const addSocial: (input: AddSocialInput) => AddSocialAction;
declare const removeSocial: (input: RemoveSocialInput) => RemoveSocialAction;
declare const updateSocialUrl: (input: UpdateSocialUrlInput) => UpdateSocialUrlAction;
declare namespace creators_d_exports$2 {
  export { approveVerification, reinstateVerification, rejectVerification, requestVerification, revokeVerification, setPublisherWallet, suspendVerification };
}
declare const setPublisherWallet: (input: SetPublisherWalletInput) => SetPublisherWalletAction;
declare const requestVerification: (input: RequestVerificationInput) => RequestVerificationAction;
declare const approveVerification: (input: ApproveVerificationInput) => ApproveVerificationAction;
declare const rejectVerification: (input: RejectVerificationInput) => RejectVerificationAction;
declare const suspendVerification: (input: SuspendVerificationInput) => SuspendVerificationAction;
declare const revokeVerification: (input: RevokeVerificationInput) => RevokeVerificationAction;
declare const reinstateVerification: (input: ReinstateVerificationInput) => ReinstateVerificationAction;
//#endregion
//#region document-models/grant-system/v1/gen/ph-factories.d.ts
declare function defaultGlobalState(): GrantSystemState;
declare function defaultLocalState(): GrantSystemLocalState;
declare function defaultPHState(): GrantSystemPHState;
declare function createState(baseState?: Partial<PHBaseState>, globalState?: Partial<GrantSystemState>, localState?: Partial<GrantSystemLocalState>): GrantSystemPHState;
/**
 * Creates a GrantSystemDocument with custom global and local state
 * This properly handles the PHBaseState requirements while allowing
 * document-specific state to be set.
 */
declare function createGrantSystemDocument(state?: Partial<{
  auth?: Partial<PHAuthState>;
  document?: Partial<PHDocumentState>;
  global?: Partial<GrantSystemState>;
  local?: Partial<GrantSystemLocalState>;
}>): GrantSystemDocument;
//#endregion
//#region document-models/grant-system/v1/gen/utils.d.ts
declare const initialGlobalState: GrantSystemState;
declare const initialLocalState: GrantSystemLocalState;
//#endregion
//#region document-models/grant-system/v1/gen/reducer.d.ts
declare const reducer: Reducer<GrantSystemPHState>;
//#endregion
//#region document-models/grant-system/v1/gen/controller.d.ts
declare const GrantSystemController: new (initialDocument?: PHDocument<GrantSystemPHState> | undefined) => PHDocumentController<GrantSystemPHState> & ActionMap<GrantSystemAction, PHDocumentController<GrantSystemPHState>>;
//#endregion
//#region document-models/grant-system/v1/gen/schema/zod.d.ts
type Properties<T> = Required<{ [K in keyof T]: ZodType<T[K]> }>;
type definedNonNullAny = {};
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
declare const definedNonNullAnySchema: ZodAny & ZodType<definedNonNullAny, any, $ZodTypeInternals<definedNonNullAny, any>>;
declare const GrantSystemTypeSchema: ZodEnum<{
  OTHER: "OTHER";
  COMPANY: "COMPANY";
  DAO: "DAO";
  FOUNDATION: "FOUNDATION";
  PERSON: "PERSON";
  PROGRAM: "PROGRAM";
  PROTOCOL: "PROTOCOL";
}>;
declare const SocialPlatformSchema: ZodEnum<{
  DISCORD: "DISCORD";
  FARCASTER: "FARCASTER";
  GITHUB: "GITHUB";
  LENS: "LENS";
  LINKEDIN: "LINKEDIN";
  MIRROR: "MIRROR";
  TELEGRAM: "TELEGRAM";
  TWITTER: "TWITTER";
  WEBSITE: "WEBSITE";
}>;
declare const VerificationMethodSchema: ZodEnum<{
  DOMAIN_VERIFICATION: "DOMAIN_VERIFICATION";
  MANUAL_REVIEW: "MANUAL_REVIEW";
  THIRD_PARTY_ATTESTATION: "THIRD_PARTY_ATTESTATION";
  WALLET_SIGNATURE: "WALLET_SIGNATURE";
}>;
declare const VerificationStateSchema: ZodEnum<{
  REVOKED: "REVOKED";
  SUSPENDED: "SUSPENDED";
  PENDING_REVIEW: "PENDING_REVIEW";
  UNVERIFIED: "UNVERIFIED";
  VERIFIED: "VERIFIED";
}>;
declare function AddSameAsInputSchema(): ZodObject<Properties<AddSameAsInput>>;
declare function AddSocialInputSchema(): ZodObject<Properties<AddSocialInput>>;
declare function ApproveVerificationInputSchema(): ZodObject<Properties<ApproveVerificationInput>>;
declare function GrantSystemStateSchema(): ZodObject<Properties<GrantSystemState>>;
declare function ReinstateVerificationInputSchema(): ZodObject<Properties<ReinstateVerificationInput>>;
declare function RejectVerificationInputSchema(): ZodObject<Properties<RejectVerificationInput>>;
declare function RemoveSameAsInputSchema(): ZodObject<Properties<RemoveSameAsInput>>;
declare function RemoveSocialInputSchema(): ZodObject<Properties<RemoveSocialInput>>;
declare function RequestVerificationInputSchema(): ZodObject<Properties<RequestVerificationInput>>;
declare function RevokeVerificationInputSchema(): ZodObject<Properties<RevokeVerificationInput>>;
declare function SetCodeInputSchema(): ZodObject<Properties<SetCodeInput>>;
declare function SetContactNameInputSchema(): ZodObject<Properties<SetContactNameInput>>;
declare function SetCoverImageInputSchema(): ZodObject<Properties<SetCoverImageInput>>;
declare function SetDescriptionInputSchema(): ZodObject<Properties<SetDescriptionInput>>;
declare function SetEmailInputSchema(): ZodObject<Properties<SetEmailInput>>;
declare function SetExtensionsInputSchema(): ZodObject<Properties<SetExtensionsInput>>;
declare function SetGrantPoolsUriInputSchema(): ZodObject<Properties<SetGrantPoolsUriInput>>;
declare function SetImageInputSchema(): ZodObject<Properties<SetImageInput>>;
declare function SetOrgNameInputSchema(): ZodObject<Properties<SetOrgNameInput>>;
declare function SetPublisherWalletInputSchema(): ZodObject<Properties<SetPublisherWalletInput>>;
declare function SetTypeInputSchema(): ZodObject<Properties<SetTypeInput>>;
declare function SocialSchema(): ZodObject<Properties<Social>>;
declare function SuspendVerificationInputSchema(): ZodObject<Properties<SuspendVerificationInput>>;
declare function UpdateSocialUrlInputSchema(): ZodObject<Properties<UpdateSocialUrlInput>>;
//#endregion
//#region document-models/grant-system/v1/gen/document-type.d.ts
declare const grantSystemDocumentType = "rfp-hub/grant-system";
//#endregion
//#region document-models/grant-system/v1/gen/document-schema.d.ts
/** Schema for validating the header object of a GrantSystem document */
declare const GrantSystemDocumentHeaderSchema: ZodObject<{
  id: ZodString;
  name: ZodString;
  createdAtUtcIso: ZodString;
  lastModifiedAtUtcIso: ZodString;
  documentType: ZodLiteral<"rfp-hub/grant-system">;
}, $strip>;
/** Schema for validating the state object of a GrantSystem document */
declare const GrantSystemPHStateSchema: ZodObject<{
  global: ZodObject<Required<{
    code: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    contactName: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    coverImage: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    description: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    email: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    extensions: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    grantPoolsURI: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    image: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    name: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    publisherWallet: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    revocationReason: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    revokedAt: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    sameAs: ZodType<string[], unknown, $ZodTypeInternals<string[], unknown>>;
    socials: ZodType<Social[], unknown, $ZodTypeInternals<Social[], unknown>>;
    type: ZodType<Maybe<GrantSystemType>, unknown, $ZodTypeInternals<Maybe<GrantSystemType>, unknown>>;
    verificationMethod: ZodType<Maybe<VerificationMethod>, unknown, $ZodTypeInternals<Maybe<VerificationMethod>, unknown>>;
    verificationState: ZodType<VerificationState, unknown, $ZodTypeInternals<VerificationState, unknown>>;
    verifiedAt: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    verifiedBy: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
  }>, $strip>;
}, $strip>;
declare const GrantSystemDocumentSchema: ZodObject<{
  header: ZodObject<{
    id: ZodString;
    name: ZodString;
    createdAtUtcIso: ZodString;
    lastModifiedAtUtcIso: ZodString;
    documentType: ZodLiteral<"rfp-hub/grant-system">;
  }, $strip>;
  state: ZodObject<{
    global: ZodObject<Required<{
      code: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      contactName: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      coverImage: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      description: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      email: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      extensions: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      grantPoolsURI: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      image: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      name: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      publisherWallet: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      revocationReason: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      revokedAt: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      sameAs: ZodType<string[], unknown, $ZodTypeInternals<string[], unknown>>;
      socials: ZodType<Social[], unknown, $ZodTypeInternals<Social[], unknown>>;
      type: ZodType<Maybe<GrantSystemType>, unknown, $ZodTypeInternals<Maybe<GrantSystemType>, unknown>>;
      verificationMethod: ZodType<Maybe<VerificationMethod>, unknown, $ZodTypeInternals<Maybe<VerificationMethod>, unknown>>;
      verificationState: ZodType<VerificationState, unknown, $ZodTypeInternals<VerificationState, unknown>>;
      verifiedAt: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      verifiedBy: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    }>, $strip>;
  }, $strip>;
  initialState: ZodObject<{
    global: ZodObject<Required<{
      code: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      contactName: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      coverImage: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      description: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      email: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      extensions: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      grantPoolsURI: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      image: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      name: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      publisherWallet: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      revocationReason: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      revokedAt: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      sameAs: ZodType<string[], unknown, $ZodTypeInternals<string[], unknown>>;
      socials: ZodType<Social[], unknown, $ZodTypeInternals<Social[], unknown>>;
      type: ZodType<Maybe<GrantSystemType>, unknown, $ZodTypeInternals<Maybe<GrantSystemType>, unknown>>;
      verificationMethod: ZodType<Maybe<VerificationMethod>, unknown, $ZodTypeInternals<Maybe<VerificationMethod>, unknown>>;
      verificationState: ZodType<VerificationState, unknown, $ZodTypeInternals<VerificationState, unknown>>;
      verifiedAt: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
      verifiedBy: ZodType<Maybe<string>, unknown, $ZodTypeInternals<Maybe<string>, unknown>>;
    }>, $strip>;
  }, $strip>;
}, $strip>;
/** Simple helper function to check if a state object is a GrantSystem document state object */
declare function isGrantSystemState(state: unknown): state is GrantSystemPHState;
/** Simple helper function to assert that a document state object is a GrantSystem document state object */
declare function assertIsGrantSystemState(state: unknown): asserts state is GrantSystemPHState;
/** Simple helper function to check if a document is a GrantSystem document */
declare function isGrantSystemDocument(document: unknown): document is GrantSystemDocument;
/** Simple helper function to assert that a document is a GrantSystem document */
declare function assertIsGrantSystemDocument(document: unknown): asserts document is GrantSystemDocument;
//#endregion
//#region document-models/grant-system/v1/gen/identity/operations.d.ts
interface GrantSystemIdentityOperations {
  setTypeOperation: (state: GrantSystemState, action: SetTypeAction, dispatch?: SignalDispatch) => void;
  setCodeOperation: (state: GrantSystemState, action: SetCodeAction, dispatch?: SignalDispatch) => void;
  setDescriptionOperation: (state: GrantSystemState, action: SetDescriptionAction, dispatch?: SignalDispatch) => void;
  setGrantPoolsUriOperation: (state: GrantSystemState, action: SetGrantPoolsUriAction, dispatch?: SignalDispatch) => void;
  setExtensionsOperation: (state: GrantSystemState, action: SetExtensionsAction, dispatch?: SignalDispatch) => void;
  setImageOperation: (state: GrantSystemState, action: SetImageAction, dispatch?: SignalDispatch) => void;
  setCoverImageOperation: (state: GrantSystemState, action: SetCoverImageAction, dispatch?: SignalDispatch) => void;
  setEmailOperation: (state: GrantSystemState, action: SetEmailAction, dispatch?: SignalDispatch) => void;
  setContactNameOperation: (state: GrantSystemState, action: SetContactNameAction, dispatch?: SignalDispatch) => void;
  setOrgNameOperation: (state: GrantSystemState, action: SetOrgNameAction, dispatch?: SignalDispatch) => void;
}
//#endregion
//#region document-models/grant-system/v1/gen/links/operations.d.ts
interface GrantSystemLinksOperations {
  addSameAsOperation: (state: GrantSystemState, action: AddSameAsAction, dispatch?: SignalDispatch) => void;
  removeSameAsOperation: (state: GrantSystemState, action: RemoveSameAsAction, dispatch?: SignalDispatch) => void;
  addSocialOperation: (state: GrantSystemState, action: AddSocialAction, dispatch?: SignalDispatch) => void;
  removeSocialOperation: (state: GrantSystemState, action: RemoveSocialAction, dispatch?: SignalDispatch) => void;
  updateSocialUrlOperation: (state: GrantSystemState, action: UpdateSocialUrlAction, dispatch?: SignalDispatch) => void;
}
//#endregion
//#region document-models/grant-system/v1/gen/verification/operations.d.ts
interface GrantSystemVerificationOperations {
  setPublisherWalletOperation: (state: GrantSystemState, action: SetPublisherWalletAction, dispatch?: SignalDispatch) => void;
  requestVerificationOperation: (state: GrantSystemState, action: RequestVerificationAction, dispatch?: SignalDispatch) => void;
  approveVerificationOperation: (state: GrantSystemState, action: ApproveVerificationAction, dispatch?: SignalDispatch) => void;
  rejectVerificationOperation: (state: GrantSystemState, action: RejectVerificationAction, dispatch?: SignalDispatch) => void;
  suspendVerificationOperation: (state: GrantSystemState, action: SuspendVerificationAction, dispatch?: SignalDispatch) => void;
  revokeVerificationOperation: (state: GrantSystemState, action: RevokeVerificationAction, dispatch?: SignalDispatch) => void;
  reinstateVerificationOperation: (state: GrantSystemState, action: ReinstateVerificationAction, dispatch?: SignalDispatch) => void;
}
//#endregion
//#region document-models/grant-system/v1/hooks.d.ts
/** Hook to get a GrantSystem document by its id */
declare function useGrantSystemDocumentById(documentId: string | null | undefined): [GrantSystemDocument, DocumentDispatch<GrantSystemAction>] | [undefined, undefined];
/** Hook to get the selected GrantSystem document */
declare function useSelectedGrantSystemDocument(): [GrantSystemDocument, DocumentDispatch<GrantSystemAction>];
/** Hook to get all GrantSystem documents in the selected drive */
declare function useGrantSystemDocumentsInSelectedDrive(): GrantSystemDocument[] | undefined;
/** Hook to get all GrantSystem documents in the selected folder */
declare function useGrantSystemDocumentsInSelectedFolder(): GrantSystemDocument[] | undefined;
//#endregion
//#region document-models/grant-system/v1/actions.d.ts
/** Actions for the GrantSystem document model */
declare const actions: {
  setPublisherWallet: (input: SetPublisherWalletInput) => SetPublisherWalletAction;
  requestVerification: (input: RequestVerificationInput) => RequestVerificationAction;
  approveVerification: (input: ApproveVerificationInput) => ApproveVerificationAction;
  rejectVerification: (input: RejectVerificationInput) => RejectVerificationAction;
  suspendVerification: (input: SuspendVerificationInput) => SuspendVerificationAction;
  revokeVerification: (input: RevokeVerificationInput) => RevokeVerificationAction;
  reinstateVerification: (input: ReinstateVerificationInput) => ReinstateVerificationAction;
  addSameAs: (input: AddSameAsInput) => AddSameAsAction;
  removeSameAs: (input: RemoveSameAsInput) => RemoveSameAsAction;
  addSocial: (input: AddSocialInput) => AddSocialAction;
  removeSocial: (input: RemoveSocialInput) => RemoveSocialAction;
  updateSocialUrl: (input: UpdateSocialUrlInput) => UpdateSocialUrlAction;
  setType: (input: SetTypeInput) => SetTypeAction;
  setCode: (input: SetCodeInput) => SetCodeAction;
  setDescription: (input: SetDescriptionInput) => SetDescriptionAction;
  setGrantPoolsUri: (input: SetGrantPoolsUriInput) => SetGrantPoolsUriAction;
  setExtensions: (input: SetExtensionsInput) => SetExtensionsAction;
  setImage: (input: SetImageInput) => SetImageAction;
  setCoverImage: (input: SetCoverImageInput) => SetCoverImageAction;
  setEmail: (input: SetEmailInput) => SetEmailAction;
  setContactName: (input: SetContactNameInput) => SetContactNameAction;
  setOrgName: (input: SetOrgNameInput) => SetOrgNameAction;
  setName: (name: string | {
    name: string;
  }) => SetNameAction;
  undo: (count?: number, scope?: string) => UndoAction;
  redo: (count?: number, scope?: string) => RedoAction;
  prune: (start?: number, end?: number, scope?: string) => SchemaPruneAction;
  loadState: <TState extends PHBaseState = PHBaseState>(state: TState & {
    name: string;
  }, operations: number) => LoadStateAction;
  noop: (scope?: string) => NOOPAction;
};
//#endregion
//#region document-models/grant-system/v1/utils.d.ts
/** Utils for the GrantSystem document model */
declare const utils: DocumentModelUtils<GrantSystemPHState>;
//#endregion
//#region document-models/grant-system/upgrades/versions.d.ts
declare const supportedVersions: readonly [1];
declare const latestVersion: 1;
//#endregion
//#region document-models/grant-system/upgrades/upgrade-manifest.d.ts
declare const grantSystemUpgradeManifest: UpgradeManifest<typeof supportedVersions>;
//#endregion
export { AddSameAsAction, AddSameAsInput, AddSameAsInputSchema, AddSocialAction, AddSocialInput, AddSocialInputSchema, ApproveVerificationAction, ApproveVerificationInput, ApproveVerificationInputSchema, Exact, GrantSystemAction, GrantSystemController, GrantSystemDocument, GrantSystemDocumentHeaderSchema, GrantSystemDocumentSchema, GrantSystemState as GrantSystemGlobalState, GrantSystemState, GrantSystemIdentityAction, GrantSystemIdentityOperations, GrantSystemLinksAction, GrantSystemLinksOperations, GrantSystemLocalState, GrantSystemPHState, GrantSystemPHStateSchema, GrantSystemStateSchema, GrantSystemType, GrantSystemTypeSchema, GrantSystemVerificationAction, GrantSystemVerificationOperations, Incremental, InputMaybe, MakeEmpty, MakeMaybe, MakeOptional, Maybe, ReinstateVerificationAction, ReinstateVerificationInput, ReinstateVerificationInputSchema, RejectVerificationAction, RejectVerificationInput, RejectVerificationInputSchema, RemoveSameAsAction, RemoveSameAsInput, RemoveSameAsInputSchema, RemoveSocialAction, RemoveSocialInput, RemoveSocialInputSchema, RequestVerificationAction, RequestVerificationInput, RequestVerificationInputSchema, RevokeVerificationAction, RevokeVerificationInput, RevokeVerificationInputSchema, Scalars, SetCodeAction, SetCodeInput, SetCodeInputSchema, SetContactNameAction, SetContactNameInput, SetContactNameInputSchema, SetCoverImageAction, SetCoverImageInput, SetCoverImageInputSchema, SetDescriptionAction, SetDescriptionInput, SetDescriptionInputSchema, SetEmailAction, SetEmailInput, SetEmailInputSchema, SetExtensionsAction, SetExtensionsInput, SetExtensionsInputSchema, SetGrantPoolsUriAction, SetGrantPoolsUriInput, SetGrantPoolsUriInputSchema, SetImageAction, SetImageInput, SetImageInputSchema, SetOrgNameAction, SetOrgNameInput, SetOrgNameInputSchema, SetPublisherWalletAction, SetPublisherWalletInput, SetPublisherWalletInputSchema, SetTypeAction, SetTypeInput, SetTypeInputSchema, Social, SocialPlatform, SocialPlatformSchema, SocialSchema, SuspendVerificationAction, SuspendVerificationInput, SuspendVerificationInputSchema, UpdateSocialUrlAction, UpdateSocialUrlInput, UpdateSocialUrlInputSchema, VerificationMethod, VerificationMethodSchema, VerificationState, VerificationStateSchema, actions, addSameAs, addSocial, approveVerification, assertIsGrantSystemDocument, assertIsGrantSystemState, createGrantSystemDocument, createState, defaultGlobalState, defaultLocalState, defaultPHState, definedNonNullAnySchema, documentModel, grantSystemDocumentType, creators_d_exports as grantSystemIdentityActions, creators_d_exports$1 as grantSystemLinksActions, grantSystemUpgradeManifest, creators_d_exports$2 as grantSystemVerificationActions, initialGlobalState, initialLocalState, isDefinedNonNullAny, isGrantSystemDocument, isGrantSystemState, latestVersion, reducer, reinstateVerification, rejectVerification, removeSameAs, removeSocial, requestVerification, revokeVerification, setCode, setContactName, setCoverImage, setDescription, setEmail, setExtensions, setGrantPoolsUri, setImage, setOrgName, setPublisherWallet, setType, supportedVersions, suspendVerification, updateSocialUrl, useGrantSystemDocumentById, useGrantSystemDocumentsInSelectedDrive, useGrantSystemDocumentsInSelectedFolder, useSelectedGrantSystemDocument, utils };
//# sourceMappingURL=index.d.ts.map