import type { SyncStatus } from "document-drive";
export type FileStatus = {
    path: string;
    status?: SyncStatus;
};
/**
 * Retrieves the sync status of a folder based on its path and their children files.
 *
 * @param folderPath - The path of the folder.
 * @param sortedFiles - The sorted list of files.
 * @returns The sync status of the folder.
 */
export declare const getFolderStatus: (folderPath: string, sortedFiles: FileStatus[]) => SyncStatus;
/**
 * Sorts an array of files by their status.
 * The order priority is:
 * - ERROR
 * - CONFLICT
 * - SYNCING
 * - MISSING
 * - SUCCESS
 *
 * @param files - The array of files to be sorted.
 * @returns The sorted array of files.
 */
export declare const sortFilesByStatus: (files: FileStatus[]) => FileStatus[];
/**
 * Removes files with a status of 'SUCCESS' from the given array of FileStatus objects.
 * @param files - An array of FileStatus objects.
 * @returns A new array containing only the FileStatus objects with a status other than 'SUCCESS'.
 */
export declare const removeSuccessFiles: (files: FileStatus[]) => FileStatus[];
//# sourceMappingURL=get-folder-status.d.ts.map