import type { KeyCredential } from "@azure/core-auth";
/**
 * Stringifies a Date object in the format expected by the Event Grid service, for use in a Shared Access Signiture.
 *
 * The service expects this time string to be in the same format as what is returned by the .NET DateTime.ToString
 * method, using the "en-US" culture.
 *
 * This corresponds to the .NET format string: "M/d/yyyy h:mm:ss tt".  For example, the date "June 5th, 2020, 12:09:03 PM"
 * is represented as the string "6/5/2020 12:09:03 PM"
 *
 * The service expects a UTC time, so this method returns a string based on the UTC time of the provided Date.
 *
 * @param d - The Date object to convert to a string.
 */
export declare function dateToServiceTimeString(d: Date): string;
/**
 * Returns `true` if the credential object is like the KeyCredential interface (i.e. it has a
 * key property).
 *
 * @param credential - The object to test
 */
export declare function isKeyCredentialLike(o: unknown): o is KeyCredential;
export declare function parseAndWrap(jsonStringOrObject: string | Record<string, unknown>): any[];
export declare function validateEventGridEvent(o: unknown): void;
export declare function validateCloudEventEvent(o: unknown): void;
//# sourceMappingURL=util.d.ts.map