@curvenote/cli
Version:
CLI Client library for Curvenote
19 lines • 638 B
TypeScript
import type { LinkTransformer } from 'myst-transforms';
import type { VFile } from 'vfile';
import type { ISession } from '../session/types.js';
import type { Link } from 'myst-spec-ext';
/**
* Populate link node with rich oxa info
*/
export declare class OxaTransformer implements LinkTransformer {
protocol: string;
session: ISession;
constructor(session: ISession);
test(url?: string): boolean;
transform(link: Link, file: VFile): boolean;
}
export declare function transformOxalinkStore(session: ISession, opts: {
file: string;
projectSlug?: string;
}): Promise<void>;
//# sourceMappingURL=links.d.ts.map