@harboor/core
Version:
19 lines (16 loc) • 670 B
text/typescript
declare function pathv(relativePath: string): string;
declare function hasPathvCalls(content: string): boolean;
declare function processPathvCalls(content: string, fileAbsPath: string, sourceRelativePath: string, distRelativePath: string): Promise<string>;
type DumpArgs = {
aws: {
credentials: {
region: string;
accessKey: string;
accessKeySecret: string;
};
secretName: string;
};
dest?: string;
};
declare function fetchSecretsAws<E extends Record<string, string | number | boolean>>({ aws, dest }: DumpArgs): Promise<any>;
export { fetchSecretsAws, hasPathvCalls, pathv, processPathvCalls };