@microsoft/kiota-abstractions
Version:
Core abstractions for kiota generated libraries in TypeScript and JavaScript
24 lines • 868 B
TypeScript
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
export type Guid = string;
/**
* Checks if the string is a valid GUID.
* @param source the string to check.
* @returns unchanged string if it is a valid GUID; otherwise, undefined.
*/
export declare const parseGuidString: (source?: string) => string | undefined;
/**
* Generates a GUID.
* @returns a GUID.
*/
export declare const createGuid: () => string;
/**
* Generates a empty GUID.
* @returns a empty GUID.
*/
export declare const createEmptyGuid: () => string;
//# sourceMappingURL=guidUtils.d.ts.map