import { C as PHBaseState, i as Action, w as PHDocument } from "./index-DQ5mRIVf.js";

//#region document-models/group/v1/gen/schema/types.d.ts
type Maybe<T> = T | null | undefined;
type InputMaybe<T> = T | null | undefined;
type Exact<T extends {
  [key: string]: unknown;
}> = { [K in keyof T]: T[K] };
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
type MakeEmpty<T extends {
  [key: string]: unknown;
}, K extends keyof T> = { [_ in K]?: never };
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
type Scalars = {
  ID: {
    input: string;
    output: string;
  };
  String: {
    input: string;
    output: string;
  };
  Boolean: {
    input: boolean;
    output: boolean;
  };
  Int: {
    input: number;
    output: number;
  };
  Float: {
    input: number;
    output: number;
  };
  Address: {
    input: `${string}:0x${string}`;
    output: `${string}:0x${string}`;
  };
  Amount: {
    input: {
      unit?: string;
      value?: number;
    };
    output: {
      unit?: string;
      value?: number;
    };
  };
  Amount_Crypto: {
    input: {
      unit: string;
      value: string;
    };
    output: {
      unit: string;
      value: string;
    };
  };
  Amount_Currency: {
    input: {
      unit: string;
      value: string;
    };
    output: {
      unit: string;
      value: string;
    };
  };
  Amount_Fiat: {
    input: {
      unit: string;
      value: number;
    };
    output: {
      unit: string;
      value: number;
    };
  };
  Amount_Money: {
    input: number;
    output: number;
  };
  Amount_Percentage: {
    input: number;
    output: number;
  };
  Amount_Tokens: {
    input: number;
    output: number;
  };
  Attachment: {
    input: string;
    output: string;
  };
  Currency: {
    input: string;
    output: string;
  };
  Date: {
    input: string;
    output: string;
  };
  DateTime: {
    input: string;
    output: string;
  };
  EmailAddress: {
    input: string;
    output: string;
  };
  EthereumAddress: {
    input: string;
    output: string;
  };
  OID: {
    input: string;
    output: string;
  };
  OLabel: {
    input: string;
    output: string;
  };
  PHID: {
    input: string;
    output: string;
  };
  URL: {
    input: string;
    output: string;
  };
  Unknown: {
    input: unknown;
    output: unknown;
  };
  Upload: {
    input: File;
    output: File;
  };
};
type AddChannelInput = {
  channelId: Scalars["PHID"]["input"];
};
type GroupState = {
  channelIds: Array<Scalars["PHID"]["output"]>;
  name: Maybe<Scalars["String"]["output"]>;
};
type RemoveChannelInput = {
  channelId: Scalars["PHID"]["input"];
};
type ReorderChannelsInput = {
  channelIds: Array<Scalars["PHID"]["input"]>;
};
type SetGroupNameInput = {
  name: Scalars["String"]["input"];
};
//#endregion
//#region document-models/group/v1/gen/types.d.ts
type GroupLocalState = Record<PropertyKey, never>;
type GroupPHState = PHBaseState & {
  global: GroupState;
  local: GroupLocalState;
};
type GroupDocument = PHDocument<GroupPHState>;
//#endregion
//#region document-models/group/v1/gen/group/actions.d.ts
type SetGroupNameAction = Action & {
  type: "SET_GROUP_NAME";
  input: SetGroupNameInput;
};
type AddChannelAction = Action & {
  type: "ADD_CHANNEL";
  input: AddChannelInput;
};
type RemoveChannelAction = Action & {
  type: "REMOVE_CHANNEL";
  input: RemoveChannelInput;
};
type ReorderChannelsAction = Action & {
  type: "REORDER_CHANNELS";
  input: ReorderChannelsInput;
};
type GroupGroupAction = SetGroupNameAction | AddChannelAction | RemoveChannelAction | ReorderChannelsAction;
//#endregion
//#region document-models/group/v1/gen/actions.d.ts
type GroupAction = GroupGroupAction;
//#endregion
export { SetGroupNameInput as S, MakeOptional as _, ReorderChannelsAction as a, ReorderChannelsInput as b, GroupLocalState as c, Exact as d, GroupState as f, MakeMaybe as g, MakeEmpty as h, RemoveChannelAction as i, GroupPHState as l, InputMaybe as m, AddChannelAction as n, SetGroupNameAction as o, Incremental as p, GroupGroupAction as r, GroupDocument as s, GroupAction as t, AddChannelInput as u, Maybe as v, Scalars as x, RemoveChannelInput as y };
//# sourceMappingURL=actions-B0TcdnxK.d.ts.map