export function compileFields(fields: any): any;
export function filterOutUnwantedDependencies(): ([name, version]: [any, any]) => boolean;
export function normalizeExpression(e: any): any;
export function mergeDependencies(a: any, b: any): any;
/**
 * Decode a password
 * @param {string} password
 * @returns {string} plaintext password
 */
export function decodePassword(password: string): string;
/**
 * @typedef {Object} FunctionDecl
 * @property {string} name
 * @property {string} body
 */
/**
 * Extract shell functions from a given text.
 * @param {AsyncIterable<string>} source
 * @return {AsyncIterable<FunctionDecl>}
 */
export function extractFunctions(source: AsyncIterable<string>): AsyncIterable<FunctionDecl>;
export function quote(v: any, qc?: string): any;
export function asArray(o: any): any[];
/**
 *
 * @param {Object} properties
 * @param {Object} fields
 * @returns {Function}
 */
export function fieldProvider(properties: any, fields: any): Function;
/**
 * @typedef {Function} Expander
 * @param {string} path
 * @return {string}
 */
/**
 * Copy content from source into destinationDirectory.
 * Destination paths a generated without leading '/' (as for entry names too).
 * @param {AsyncIterable<ContentEntry>} source
 * @param {string} destinationDirectory
 * @param {Expander} expander
 */
export function copyEntries(source: AsyncIterable<ContentEntry>, destinationDirectory: string, expander?: Expander): AsyncGenerator<ContentEntry, void, unknown>;
/**
 * @type {BufferEncoding}
 */
export const utf8StreamOptions: BufferEncoding;
export type FunctionDecl = {
    name: string;
    body: string;
};
export type Expander = Function;
import { ContentEntry } from "content-entry";
