repomix
Version:
A tool to pack repository contents to single file for AI consumption
393 lines (392 loc) • 30.3 kB
TypeScript
import * as v from 'valibot';
export declare const repomixOutputStyleSchema: v.PicklistSchema<["xml", "markdown", "json", "plain"], undefined>;
export type RepomixOutputStyle = v.InferOutput<typeof repomixOutputStyleSchema>;
export declare const defaultFilePathMap: Record<RepomixOutputStyle, string>;
export declare const repomixConfigBaseSchema: v.ObjectSchema<{
readonly $schema: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly input: v.OptionalSchema<v.ObjectSchema<{
readonly maxFileSize: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly output: v.OptionalSchema<v.ObjectSchema<{
readonly filePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly style: v.OptionalSchema<v.PicklistSchema<["xml", "markdown", "json", "plain"], undefined>, undefined>;
readonly parsableStyle: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly headerText: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly instructionFilePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly fileSummary: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly directoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly files: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeComments: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeEmptyLines: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly compress: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly topFilesLength: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly showLineNumbers: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly truncateBase64: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly copyToClipboard: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeEmptyDirectories: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeFullDirectoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly splitOutput: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
readonly tokenCountTree: v.OptionalSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
readonly git: v.OptionalSchema<v.ObjectSchema<{
readonly sortByChanges: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly sortByChangesMaxCommits: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly includeDiffs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogsCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>, undefined>;
readonly include: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
readonly ignore: v.OptionalSchema<v.ObjectSchema<{
readonly useGitignore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDotIgnore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDefaultPatterns: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly customPatterns: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
}, undefined>, undefined>;
readonly security: v.OptionalSchema<v.ObjectSchema<{
readonly enableSecurityCheck: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly tokenCount: v.OptionalSchema<v.ObjectSchema<{
readonly encoding: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>;
export declare const repomixConfigDefaultSchema: v.ObjectSchema<{
readonly input: v.ObjectSchema<{
readonly maxFileSize: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, number>;
}, undefined>;
readonly output: v.ObjectSchema<{
readonly filePath: v.OptionalSchema<v.StringSchema<undefined>, string>;
readonly style: v.OptionalSchema<v.PicklistSchema<["xml", "markdown", "json", "plain"], undefined>, "xml">;
readonly parsableStyle: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly headerText: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly instructionFilePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly fileSummary: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly directoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly files: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly removeComments: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly removeEmptyLines: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly compress: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly topFilesLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 5>;
readonly showLineNumbers: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly truncateBase64: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly copyToClipboard: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly includeEmptyDirectories: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeFullDirectoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly splitOutput: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
readonly tokenCountTree: v.OptionalSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, false>;
readonly git: v.ObjectSchema<{
readonly sortByChanges: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly sortByChangesMaxCommits: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, 100>;
readonly includeDiffs: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly includeLogs: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly includeLogsCount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, 50>;
}, undefined>;
}, undefined>;
readonly include: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, () => never[]>;
readonly ignore: v.ObjectSchema<{
readonly useGitignore: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly useDotIgnore: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly useDefaultPatterns: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly customPatterns: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, () => never[]>;
}, undefined>;
readonly security: v.ObjectSchema<{
readonly enableSecurityCheck: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
}, undefined>;
readonly tokenCount: v.ObjectSchema<{
readonly encoding: v.OptionalSchema<v.PicklistSchema<readonly ["o200k_base", "cl100k_base", "p50k_base", "p50k_edit", "r50k_base"], undefined>, "o200k_base">;
}, undefined>;
}, undefined>;
export declare const repomixConfigFileSchema: v.ObjectSchema<{
readonly $schema: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly input: v.OptionalSchema<v.ObjectSchema<{
readonly maxFileSize: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly output: v.OptionalSchema<v.ObjectSchema<{
readonly filePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly style: v.OptionalSchema<v.PicklistSchema<["xml", "markdown", "json", "plain"], undefined>, undefined>;
readonly parsableStyle: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly headerText: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly instructionFilePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly fileSummary: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly directoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly files: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeComments: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeEmptyLines: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly compress: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly topFilesLength: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly showLineNumbers: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly truncateBase64: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly copyToClipboard: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeEmptyDirectories: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeFullDirectoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly splitOutput: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
readonly tokenCountTree: v.OptionalSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
readonly git: v.OptionalSchema<v.ObjectSchema<{
readonly sortByChanges: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly sortByChangesMaxCommits: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly includeDiffs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogsCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>, undefined>;
readonly include: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
readonly ignore: v.OptionalSchema<v.ObjectSchema<{
readonly useGitignore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDotIgnore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDefaultPatterns: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly customPatterns: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
}, undefined>, undefined>;
readonly security: v.OptionalSchema<v.ObjectSchema<{
readonly enableSecurityCheck: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly tokenCount: v.OptionalSchema<v.ObjectSchema<{
readonly encoding: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>;
export declare const repomixConfigCliSchema: v.IntersectSchema<[v.ObjectSchema<{
readonly $schema: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly input: v.OptionalSchema<v.ObjectSchema<{
readonly maxFileSize: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly output: v.OptionalSchema<v.ObjectSchema<{
readonly filePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly style: v.OptionalSchema<v.PicklistSchema<["xml", "markdown", "json", "plain"], undefined>, undefined>;
readonly parsableStyle: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly headerText: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly instructionFilePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly fileSummary: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly directoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly files: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeComments: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeEmptyLines: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly compress: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly topFilesLength: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly showLineNumbers: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly truncateBase64: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly copyToClipboard: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeEmptyDirectories: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeFullDirectoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly splitOutput: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
readonly tokenCountTree: v.OptionalSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
readonly git: v.OptionalSchema<v.ObjectSchema<{
readonly sortByChanges: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly sortByChangesMaxCommits: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly includeDiffs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogsCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>, undefined>;
readonly include: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
readonly ignore: v.OptionalSchema<v.ObjectSchema<{
readonly useGitignore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDotIgnore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDefaultPatterns: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly customPatterns: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
}, undefined>, undefined>;
readonly security: v.OptionalSchema<v.ObjectSchema<{
readonly enableSecurityCheck: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly tokenCount: v.OptionalSchema<v.ObjectSchema<{
readonly encoding: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>, v.ObjectSchema<{
readonly output: v.OptionalSchema<v.ObjectSchema<{
readonly stdout: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly skillGenerate: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
}, undefined>], undefined>;
export declare const repomixConfigMergedSchema: v.IntersectSchema<[v.ObjectSchema<{
readonly input: v.ObjectSchema<{
readonly maxFileSize: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, number>;
}, undefined>;
readonly output: v.ObjectSchema<{
readonly filePath: v.OptionalSchema<v.StringSchema<undefined>, string>;
readonly style: v.OptionalSchema<v.PicklistSchema<["xml", "markdown", "json", "plain"], undefined>, "xml">;
readonly parsableStyle: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly headerText: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly instructionFilePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly fileSummary: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly directoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly files: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly removeComments: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly removeEmptyLines: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly compress: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly topFilesLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, 5>;
readonly showLineNumbers: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly truncateBase64: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly copyToClipboard: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly includeEmptyDirectories: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeFullDirectoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly splitOutput: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
readonly tokenCountTree: v.OptionalSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, false>;
readonly git: v.ObjectSchema<{
readonly sortByChanges: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly sortByChangesMaxCommits: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, 100>;
readonly includeDiffs: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly includeLogs: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
readonly includeLogsCount: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, 50>;
}, undefined>;
}, undefined>;
readonly include: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, () => never[]>;
readonly ignore: v.ObjectSchema<{
readonly useGitignore: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly useDotIgnore: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly useDefaultPatterns: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
readonly customPatterns: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, () => never[]>;
}, undefined>;
readonly security: v.ObjectSchema<{
readonly enableSecurityCheck: v.OptionalSchema<v.BooleanSchema<undefined>, true>;
}, undefined>;
readonly tokenCount: v.ObjectSchema<{
readonly encoding: v.OptionalSchema<v.PicklistSchema<readonly ["o200k_base", "cl100k_base", "p50k_base", "p50k_edit", "r50k_base"], undefined>, "o200k_base">;
}, undefined>;
}, undefined>, v.ObjectSchema<{
readonly $schema: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly input: v.OptionalSchema<v.ObjectSchema<{
readonly maxFileSize: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly output: v.OptionalSchema<v.ObjectSchema<{
readonly filePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly style: v.OptionalSchema<v.PicklistSchema<["xml", "markdown", "json", "plain"], undefined>, undefined>;
readonly parsableStyle: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly headerText: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly instructionFilePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly fileSummary: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly directoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly files: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeComments: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeEmptyLines: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly compress: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly topFilesLength: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly showLineNumbers: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly truncateBase64: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly copyToClipboard: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeEmptyDirectories: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeFullDirectoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly splitOutput: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
readonly tokenCountTree: v.OptionalSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
readonly git: v.OptionalSchema<v.ObjectSchema<{
readonly sortByChanges: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly sortByChangesMaxCommits: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly includeDiffs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogsCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>, undefined>;
readonly include: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
readonly ignore: v.OptionalSchema<v.ObjectSchema<{
readonly useGitignore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDotIgnore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDefaultPatterns: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly customPatterns: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
}, undefined>, undefined>;
readonly security: v.OptionalSchema<v.ObjectSchema<{
readonly enableSecurityCheck: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly tokenCount: v.OptionalSchema<v.ObjectSchema<{
readonly encoding: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>, v.IntersectSchema<[v.ObjectSchema<{
readonly $schema: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly input: v.OptionalSchema<v.ObjectSchema<{
readonly maxFileSize: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly output: v.OptionalSchema<v.ObjectSchema<{
readonly filePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly style: v.OptionalSchema<v.PicklistSchema<["xml", "markdown", "json", "plain"], undefined>, undefined>;
readonly parsableStyle: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly headerText: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly instructionFilePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
readonly fileSummary: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly directoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly files: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeComments: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly removeEmptyLines: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly compress: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly topFilesLength: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly showLineNumbers: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly truncateBase64: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly copyToClipboard: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeEmptyDirectories: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeFullDirectoryStructure: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly splitOutput: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
readonly tokenCountTree: v.OptionalSchema<v.UnionSchema<[v.BooleanSchema<undefined>, v.NumberSchema<undefined>, v.StringSchema<undefined>], undefined>, undefined>;
readonly git: v.OptionalSchema<v.ObjectSchema<{
readonly sortByChanges: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly sortByChangesMaxCommits: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
readonly includeDiffs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly includeLogsCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>, undefined>;
readonly include: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
readonly ignore: v.OptionalSchema<v.ObjectSchema<{
readonly useGitignore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDotIgnore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly useDefaultPatterns: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
readonly customPatterns: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
}, undefined>, undefined>;
readonly security: v.OptionalSchema<v.ObjectSchema<{
readonly enableSecurityCheck: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly tokenCount: v.OptionalSchema<v.ObjectSchema<{
readonly encoding: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
}, undefined>, undefined>;
}, undefined>, v.ObjectSchema<{
readonly output: v.OptionalSchema<v.ObjectSchema<{
readonly stdout: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
}, undefined>, undefined>;
readonly skillGenerate: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>], undefined>, undefined>;
}, undefined>], undefined>, v.ObjectSchema<{
readonly cwd: v.StringSchema<undefined>;
}, undefined>], undefined>;
export type RepomixConfigDefault = v.InferOutput<typeof repomixConfigDefaultSchema>;
export type RepomixConfigFile = v.InferOutput<typeof repomixConfigFileSchema>;
export type RepomixConfigCli = v.InferOutput<typeof repomixConfigCliSchema>;
export type RepomixConfigMerged = v.InferOutput<typeof repomixConfigMergedSchema>;
export declare const defaultConfig: {
input: {
maxFileSize: number;
};
output: {
filePath: string;
style: "xml" | "markdown" | "json" | "plain";
parsableStyle: boolean;
headerText?: string | undefined;
instructionFilePath?: string | undefined;
fileSummary: boolean;
directoryStructure: boolean;
files: boolean;
removeComments: boolean;
removeEmptyLines: boolean;
compress: boolean;
topFilesLength: number;
showLineNumbers: boolean;
truncateBase64: boolean;
copyToClipboard: boolean;
includeEmptyDirectories?: boolean | undefined;
includeFullDirectoryStructure: boolean;
splitOutput?: number | undefined;
tokenCountTree: string | number | boolean;
git: {
sortByChanges: boolean;
sortByChangesMaxCommits: number;
includeDiffs: boolean;
includeLogs: boolean;
includeLogsCount: number;
};
};
include: string[];
ignore: {
useGitignore: boolean;
useDotIgnore: boolean;
useDefaultPatterns: boolean;
customPatterns: string[];
};
security: {
enableSecurityCheck: boolean;
};
tokenCount: {
encoding: "o200k_base" | "cl100k_base" | "p50k_base" | "p50k_edit" | "r50k_base";
};
};
export declare const defineConfig: (config: RepomixConfigFile) => RepomixConfigFile;