import { SCPrivateMessageSnippetType } from '@selfcommunity/types'; import { CacheStrategies } from '@selfcommunity/utils'; /** :::info This custom hook is used to fetch snippets. @param object.cacheStrategy :::tip Context can be consumed in this way: ```jsx const {snippets, isLoading} = useSCFetchPrivateMessageSnippets(); ``` ::: * @param props */ declare const useSCFetchPrivateMessageSnippets: (props?: { cacheStrategy?: CacheStrategies; }) => { data: { snippets: SCPrivateMessageSnippetType[]; isLoading: boolean; }; updateSnippets: (updatedData: any) => void; }; export default useSCFetchPrivateMessageSnippets;