import { Project } from 'projen'; interface DirectorySnapshotOptions extends SnapshotOptions { /** * Globs of files to exclude. * @defaultValue [] include all files */ readonly excludeGlobs?: Array; /** * Only snapshot the names of files and not their contents. * The value for a path will be `true` if it exists. * * @defaultValue false include file content */ readonly onlyFileNames?: boolean; /** * Parses files with different parser, supporting comments * inside .json files. * @defaultValue false */ readonly supportJsonComments?: boolean; } declare function directorySnapshot(root: string, options?: DirectorySnapshotOptions): SynthOutput; /** * Options for the Snapshot synthesis */ interface SnapshotOptions { /** * Parse .json files as a JS object for improved inspection. * This will fail if the contents are invalid JSON. * * @defaultValue true */ readonly parseJson?: boolean; } interface SynthOutput { [filePath: string]: any; } /** * Creates a snapshot of the files generated by a project. Ignores any non-text * files so that the snapshots are human readable. */ declare function synthSnapshot(project: Project, options?: SnapshotOptions): SynthOutput; export { type DirectorySnapshotOptions, type SnapshotOptions, type SynthOutput, directorySnapshot, synthSnapshot };