/** * Hook that will capture the 'Ctrl+p' press that corresponds to the user intent to print a spreadsheet. * It will prepare the spreadsheet for printing by: * - displaying it in dashboard mode. * - altering the spreadsheet dimensions to ensure we render the whole sheet. * The hook will also restore the spreadsheet dimensions to their original state after the print. * * The hook will return the print preparation function to be called manually in other contexts than pressing * the common keybind (through a menu for instance). * * @param {() => Model | undefined} model * @returns {() => Promise} preparePrint */ export function useSpreadsheetPrint(model: () => Model | undefined): () => Promise; export function useSpreadsheetNotificationStore(): void;