24 lines
576 B
TypeScript
24 lines
576 B
TypeScript
export declare const grabAuthDirs: () => {
|
|
root: string;
|
|
auth: string;
|
|
};
|
|
export declare const initAuthFiles: () => boolean;
|
|
/**
|
|
* # Write Auth Files
|
|
*/
|
|
export declare const writeAuthFile: (name: string, data: string) => boolean;
|
|
/**
|
|
* # Get Auth Files
|
|
*/
|
|
export declare const getAuthFile: (name: string) => string | null;
|
|
/**
|
|
* # Delete Auth Files
|
|
* @param {string} name
|
|
*/
|
|
export declare const deleteAuthFile: (name: string) => void | null;
|
|
/**
|
|
* # Delete Auth Files
|
|
* @param {string} name
|
|
*/
|
|
export declare const checkAuthFile: (name: string) => boolean;
|