/** * @module * Windows. */ import { PlatformDirsABC } from "./api.ts"; /** * [MSDN on where to store app data * files](https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid) * * Makes use of the {@link PlatformDirsABC.appname}, * {@link PlatformDirsABC.appauthor}, {@link PlatformDirsABC.version}, * {@link PlatformDirsABC.roaming}, {@link PlatformDirsABC.opinion}, * {@link PlatformDirsABC.ensureExists}. */ export declare class Windows extends PlatformDirsABC { /** * @return data directory tied to the user, e.g. `%USERPROFILE%\AppData\Local\$appauthor\$appname` (not roaming) or `%USERPROFILE%\AppData\Roaming\$appauthor\$appname` (roaming) */ get userDataDir(): string; protected _appendParts(path2: string, { opinionValue }?: { opinionValue?: string | undefined; }): string; /** * @return data directory shared by users, e.g. `C:\ProgramData\$appauthor\$appname` */ get siteDataDir(): string; /** * @return config directory tied to the user, same as `userDataDir` */ get userConfigDir(): string; /** * @return config directory shared by users, same as `siteDataDir` */ get siteConfigDir(): string; /** * @return cache directory tied to the user (if opinionated with `Cache` folder within `$appname`) e.g. `%USERPROFILE%\AppData\Local\$appauthor\$appname\Cache\$version` */ get userCacheDir(): string; /** * @return cache directory shared by users, e.g. `C:\ProgramData\$appauthor\$appname\Cache\$version` */ get siteCacheDir(): string; /** * @return state directory tied to the user, same as `userDataDir` */ get userStateDir(): string; /** * @return log directory tied to the user, same as `userCacheDir` if not opinionated else `log` in it */ get userLogDir(): string; /** * @return documents directory tied to the user, e.g. `%USERPROFILE%\Documents` */ get userDocumentsDir(): string; /** * @return downloads directory tied to the user, e.g. `%USERPROFILE%\Downloads` */ get userDownloadsDir(): string; /** * @return pictures directory tied to the user, e.g. `%USERPROFILE%\Pictures` */ get userPicturesDir(): string; /** * @return videos directory tied to the user, e.g. `%USERPROFILE%\Videos` */ get userVideosDir(): string; /** * @return music directory tied to the user, e.g. `%USERPROFILE%\Music` */ get userMusicDir(): string; /** * @return desktop directory tied to the user, e.g. `%USERPROFILE%\Desktop` */ get userDesktopDir(): string; /** * @return runtime directory tied to the user, e.g. `%USERPROFILE%\AppData\Local\Temp\$appauthor\$appname` */ get userRuntimeDir(): string; /** * @return runtime directory shared by users, same as `userRuntimeDir` */ get siteRuntimeDir(): string; }