import type { GenericParent } from 'myst-common';
import type { ISession } from '../session/types.js';
/**
 * Transform to resolve and stash static assets for anywidgets.
 * This is temporary — the problem of pulling out assets is generaliseable.
 *
 * Note — the `resourceFolder` is what we include in the AST. If we write to `/public/file.png`,
 * and the content server serves `/public` under `/`, then the `writeFolder` is `/public` and
 * the `resourceFolder` is `/`
 *
 * @param session session object
 * @param tree document AST
 * @param filePath path of source document
 * @param writeFolder path of folder to write to
 * @param resourceFolder alternative representation of writeFolder that is written to AST
 */
export declare function transformWidgetStaticAssetsToDisk(session: ISession, tree: GenericParent, filePath: string, writeFolder: string, resourceFolder: string): Promise<void>;
//# sourceMappingURL=anywidgets.d.ts.map