import { type EvolveEntryItemOption, type EvolveEntryMap, type EvolveEntryMapContent } from '../types/types-entry-map.js'; import { type FlatEvolveOptions } from '../types/types-options.js'; /** * Groups the manual entries based on their group names. * @param manualEntries - The map of manual entries. * @returns An array of grouped manual entries. */ export declare const manualGrouping: (manualEntries: (EvolveEntryMapContent & { entryName: string; })[]) => Array; /** * Reduces an array of autoEntries into groups based on their options. * Each group is represented by a groupKey and contains an EvolveEntryMap. * * @param evolveOptions - The FlatEvolveOptions object. * @param autoEntries - An array of EvolveEntryMapContent objects with an additional entryName property. * @param ignoreOptionKeys - An array of keys to ignore when comparing entry options. * @param serveMode - A boolean indicating whether the function is running in serve mode. * @returns An object where each key represents a groupKey and its value is an EvolveEntryMap. */ export declare const autoGroupingReduce: (autoEntries: (EvolveEntryMapContent & { entryName: string; })[], ignoreOptionKeys: Array | undefined, serveMode: boolean) => Record; /** * Assigns a group name to each entry in the evolveEntryMapList based on the projectVirtualPath. * * @param evolveOptions - The options for the evolve process. * @param evolveEntryMapList - The list of evolve entry maps. * @returns The updated list of evolve entry maps with group names assigned. */ export declare const autoAssignGroupName: (evolveOptions: FlatEvolveOptions, evolveEntryMapList: Array, originalGroupCount?: number) => Array; /** * Groups the given autoEntries into multiple EvolveEntryMap based on their options. * If the group size exceeds the maximum group size, it will be sliced into smaller groups. * * @param evolveOptions - The FlatEvolveOptions object. * @param autoEntries - An array of EvolveEntryMapContent objects with an additional entryName property. * @param ignoreOptionKeys - An array of keys to ignore in the EvolveEntryItemOption object. * @param serveMode - A boolean indicating whether the serve mode is enabled. * @param originalGroupCount - The original group count. * @returns An array of EvolveEntryMap representing the grouped entries. */ export declare const autoGrouping: (evolveOptions: FlatEvolveOptions, autoEntries: (EvolveEntryMapContent & { entryName: string; })[], ignoreOptionKeys: Array | undefined, serveMode: boolean, originalGroupCount?: number) => Array; /** * Splits the served entries into groups based on the given options. * * @param evolveEntries - The map of served entries. * @param evolveOptions - The FlatEvolveOptions object. * @param ignoreOptionKeys - The list of option keys to ignore. * @param serveMode - A boolean indicating whether the serve mode is enabled. * @param originalGroupCount - The original group count. * @returns An array of evolve entry maps representing the groups. */ export declare const splitToEntryGroup: (evolveEntries: EvolveEntryMap, evolveOptions: FlatEvolveOptions, ignoreOptionKeys: Array | undefined, serveMode: boolean, originalGroupCount?: number) => Array;