/* tslint:disable */
/* eslint-disable */

/**
 * Migrate v1 Inky syntax to v2.
 * Returns the migrated HTML string.
 */
export function migrate(html: string): string;

/**
 * Migrate v1 syntax and return a JSON object with `html` and `changes` fields.
 */
export function migrate_with_details(html: string): string;

/**
 * Convert HTML to plain text for multipart email.
 */
export function to_plain_text(html: string): string;

/**
 * Transform Inky HTML into email-safe table markup.
 */
export function transform(html: string): string;

/**
 * Transform using hybrid output mode (div + MSO ghost tables).
 */
export function transform_hybrid(html: string): string;

/**
 * Transform Inky HTML and inline CSS from `<style>` blocks.
 * Falls back to plain transform if inlining fails.
 */
export function transform_inline(html: string): string;

/**
 * Transform with a custom column count.
 */
export function transform_with_config(html: string, column_count: number): string;

/**
 * Transform Inky HTML with MiniJinja data merge, then inline CSS.
 *
 * `data_json` is a JSON string with merge variables.
 * Missing keys render as empty strings (lenient mode).
 * Falls back to plain transform if CSS inlining fails.
 */
export function transform_with_data(html: string, data_json: string): string;

/**
 * Validate an Inky template and return diagnostics as JSON.
 *
 * Returns a JSON array of objects with `severity`, `rule`, and `message` fields.
 */
export function validate(html: string): string;

/**
 * Validate with a custom column count.
 */
export function validate_with_config(html: string, column_count: number): string;

/**
 * Get the Inky version.
 */
export function version(): string;
