// export type DocumentAction = { // label: string, // action: ( // context: Context, // spec: { // contents: Record; // rawContents: string; // format: string; // formatVersion: string; // } // ): void | Promise; // hideAfterClick?: boolean; // }