mktemp
Version:
create temporary files and directories
23 lines (21 loc) • 546 B
text/typescript
/**
* count the number of possible outcomes for the template
*
* @param template - template string
* @returns count of possible outcomes
*
* @throws {@link TypeError}
* if template is not a string
*/
declare function getOutcomeCount(template: string): number;
/**
* generate unique name
*
* @param template - template string
* @returns unique name string
*
* @throws {@link TypeError}
* if template is not a string
*/
declare function generateUniqueName(template: string): string;
export { generateUniqueName, getOutcomeCount };