Outlook_Addin_LLM/node_modules/@fluentui/utilities/lib-commonjs/sessionStorage.d.ts

12 lines
459 B
TypeScript

/**
* Fetches an item from session storage without throwing an exception
* @param key The key of the item to fetch from session storage
*/
export declare function getItem(key: string): string | null;
/**
* Inserts an item into session storage without throwing an exception
* @param key The key of the item to add to session storage
* @param data The data to put into session storage
*/
export declare function setItem(key: string, data: string): void;