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