import type { DirInfo, FileInfo, ItemInfo } from '../interface'; export declare const nope: () => void; export declare const isIndexPage: (item: ItemInfo) => item is FileInfo; export declare const withOutExt: (name: string) => string; export declare const transformName: (name: string) => string; export declare const walkThroughTree: (items: ItemInfo[], callback: (item: ItemInfo, parent: DirInfo | null, index: number[]) => void) => void; export declare const flatItems: (items: ItemInfo[]) => (FileInfo | Omit)[]; export declare const isEqualState: (prevState: ItemInfo[], nextState: ItemInfo[]) => boolean; export declare const sleep: (ms: number) => Promise;