import * as dntShim from "../../_dnt.shims.js";
export declare function deepEqual<T>(a: T, b: T): boolean;
export declare function getHeaders(): Record<string, string> | undefined;
export declare function digestDir(path: string, conf: string): Promise<string>;
export declare function generateHash(content: string): Promise<string>;
export declare function generateHashFromBuffer(content: BufferSource): Promise<string>;
export declare function readInlinePathSync(path: string): string;
export declare function sleep(ms: number): Promise<unknown>;
export declare function isFileResource(path: string): boolean;
export declare function printSync(input: string | Uint8Array, to?: dntShim.Deno.Writer & dntShim.Deno.WriterSync & dntShim.Deno.Closer & {
    readonly rid: number;
    readonly writable: import("stream/web").WritableStream<Uint8Array>;
    isTerminal(): boolean;
}): void;
export interface Repository {
    git_repo_resource_path: string;
}
export declare function selectRepository<T extends Repository>(repositories: T[], operation?: string): Promise<T>;
export declare function getIsWin(): Promise<boolean>;
/**
 * Writes content to a file only if it differs from existing content.
 * Creates parent directories if they don't exist.
 *
 * @param path - The file path to write to
 * @param content - The content to write
 * @returns true if file was written, false if skipped (content unchanged)
 */
export declare function writeIfChanged(path: string, content: string): boolean;
//# sourceMappingURL=utils.d.ts.map