/**
 * Template resolution utilities.
 * Ported from the legacy agent CLI template helpers.
 *
 * Supports {{artifact.*}} and {{preflight.*}} placeholder patterns used in
 * artifact action input mappings.
 */
/**
 * Resolve template placeholders with artifact and preflight data.
 * Replaces {{artifact.*}} and {{preflight.*}} patterns.
 *
 * @param tmpl - Template string with placeholders
 * @param artifact - Map of artifact key-value pairs
 * @param preflight - Map of preflight data (can contain strings or string arrays)
 * @returns Resolved template string
 */
export declare function resolveTemplate(tmpl: string, artifact: Record<string, string>, preflight: Record<string, string | string[] | unknown>): string;
/**
 * Extract all template variables from a template string.
 * @param tmpl - Template string
 * @returns Object with artifact and preflight variable names
 */
export declare function extractTemplateVariables(tmpl: string): {
    artifact: string[];
    preflight: string[];
};
