import { PencilNode } from './property-mapper.js';
export interface FrameChild extends PencilNode {
    id: string;
    name: string;
}
export interface FrameInfo {
    id: string;
    name: string;
    width: number;
    height: number;
    children: FrameChild[];
}
export interface TemplateMeta {
    number: number;
    name: string;
    slug: string;
}
export interface SyncAction {
    type: 'create' | 'update' | 'orphan';
    filename: string;
    frame?: FrameInfo;
    content?: string;
}
/**
 * Parse a Pencil frame name into template metadata.
 * Expects format: "Template XX - Name"
 */
export declare function parseFrameName(name: string): TemplateMeta | null;
/**
 * Generate a template .md from a Pencil frame and its children.
 */
export declare function generateTemplateMarkdown(frame: FrameInfo): string;
/**
 * Compare Pencil frames with existing .md files and determine sync actions.
 */
export declare function computeSyncActions(frames: FrameInfo[], existingMds: string[]): SyncAction[];
