import { JsonValue } from '@backstage/types';
export type ReadFileFunc = (path: string) => Promise<string>;
export interface TransformContext {
    dir?: string;
}
export type TransformFunc = (value: JsonValue, context: TransformContext) => Promise<{
    applied: false;
} | {
    applied: true;
    value: JsonValue | undefined;
    newDir?: string | undefined;
}>;
