@curvenote/cli
Version:
CLI Client library for Curvenote
17 lines • 612 B
TypeScript
import type { LinkTransformer } from 'myst-transforms';
import type { VFile } from 'vfile';
import type { Link } from 'myst-spec-ext';
/**
* Recognizes Bluesky profile and post links and enriches them with
* structured data so the frontend can render Bluesky cards/hovercards.
*
* Supported URL forms:
* https://bsky.app/profile/{handle}
* https://bsky.app/profile/{handle}/post/{rkey}
*/
export declare class BlueskyTransformer implements LinkTransformer {
protocol: string;
test(uri?: string): boolean;
transform(link: Link, file: VFile): boolean;
}
//# sourceMappingURL=bluesky.d.ts.map