declare type BufferSafeValue = ArrayBuffer | SharedArrayBuffer | number[] | string | {
    valueOf(): string | object;
} | {
    [Symbol.toPrimitive](hint: 'string'): string;
};
/**
 * Generates a random string for a given size
 */
export declare function safeEqual<T extends BufferSafeValue>(value: T, comparisonValue: T): boolean;
export {};
