15 lines
440 B
TypeScript
15 lines
440 B
TypeScript
|
import { GlobPartial } from '../types';
|
||
|
interface FileDetails {
|
||
|
file: string;
|
||
|
hash: string;
|
||
|
size: number;
|
||
|
}
|
||
|
export declare function getFileDetails({ globDirectory, globFollow, globIgnores, globPattern, globStrict, }: Omit<GlobPartial, 'globDirectory' | 'globPatterns' | 'templatedURLs'> & {
|
||
|
globDirectory: string;
|
||
|
globPattern: string;
|
||
|
}): {
|
||
|
globbedFileDetails: Array<FileDetails>;
|
||
|
warning: string;
|
||
|
};
|
||
|
export {};
|