import { Config, GitHubConfig } from '../config'; import { TreeNode } from './trees'; export * from './path-utils'; export declare function getTreeNodeForItem(config: Config, collection: string, node: TreeNode): TreeNode | undefined; export declare function pluralize(count: number, options: { singular: string; plural?: string; inclusive?: boolean; }): string; export declare function arrayOf(arr: readonly (T | null)[]): T[]; export declare function keyedEntries>(obj: T): ({ key: string; } & T[keyof T])[]; export type MaybePromise = T | Promise; export declare function sha1(content: Uint8Array): Promise; export declare function blobSha(contents: Uint8Array): Promise; export declare function isGitHubConfig(config: Config): config is GitHubConfig;