export type Workspace = { dependsOn: string[]; dir: string; name: string; }; export type Affected = { base: string; changed: string[]; documents: string[]; reason: 'none' | 'root' | 'workspaces'; unowned: string[]; workspaces: Workspace[]; }; export declare const DEFAULT_DOCUMENTS: readonly string[]; export declare const manifestAt: (path: string, shown: string) => Record; export declare const workspacesIn: (root: string) => Workspace[]; export declare const git: (root: string, args: string[], input?: string) => string; export declare const changedSince: (root: string, base: string) => string[]; export declare const affectedOf: ({ base, changed, documents: globs, workspaces }: { base: string; changed: string[]; documents: readonly string[]; workspaces: Workspace[]; }) => Affected; export declare const withoutVersionOnly: (root: string, base: string, changed: string[], versionFiles: string[]) => string[]; export type AffectedOptions = { documents?: readonly string[]; ref?: string; root: string; versionFiles?: string[]; }; export declare const affected: ({ documents, ref, root, versionFiles }: AffectedOptions) => Affected; export declare const affectedIfKnown: (options: AffectedOptions) => Affected | undefined;