/** Decomposed label files are renamed from `.labels-meta.` to `.label-meta.`. */ export declare function isLabelShard(fileName: string): boolean; /** * The CustomLabels file in `dir`, under any name (`CustomLabels.labels-meta.xml`, * `fflib-Apex-Common-CustomLabels.labels-meta.xml`, ...), or `undefined` when there is none. * Throws when there are several: decomposed labels are stored flat in the directory, so labels from * two files there could not be told apart on recompose. */ export declare function findLabelsFile(dir: string): Promise; /** Records a non-default labels file name for recompose; the default needs no record. */ export declare function writeLabelsFileName(dir: string, fileName: string): Promise; /** The labels file name recorded by decompose, defaulting to `CustomLabels.labels-meta.xml`. */ export declare function readLabelsFileName(dir: string): Promise; /** `fflib-Apex-Common-CustomLabels.labels-meta.xml` -> `fflib-Apex-Common-CustomLabels`. */ export declare function labelsFileStem(fileName: string): string;