openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
7 lines (6 loc) • 448 B
TypeScript
/** Returns the final filename segment for either POSIX or Windows-style paths. */
export declare function basenameFromAnyPath(value: string): string;
/** Returns the extension from the final filename segment of any path flavor. */
export declare function extnameFromAnyPath(value: string): string;
/** Returns the extensionless filename from the final segment of any path flavor. */
export declare function nameFromAnyPath(value: string): string;