/**
 * Check dependency utility
 *
 * Evaluates whether a dependency condition is satisfied based on form data.
 */
/**
 * Check if a field should be visible based on its dependency condition
 *
 * A field is visible if:
 * - It has no dependency (always visible)
 * - Its dependency is in an invalid format (fails gracefully to visible)
 * - Its dependency condition is satisfied (field value matches expected value)
 *
 * @param dependency - Dependency string in "field_id:value" format
 * @param form_data - Current form data keyed by field ID
 * @returns true if field should be visible, false if dependency is not satisfied
 *
 * @example
 * ```ts
 * const form_data = { country: "AU", has_spouse: "true" };
 *
 * // No dependency - always visible
 * check_dependency(undefined, form_data) // => true
 *
 * // Satisfied dependency
 * check_dependency("country:AU", form_data) // => true
 *
 * // Unsatisfied dependency
 * check_dependency("country:US", form_data) // => false
 *
 * // Invalid format - defaults to visible
 * check_dependency("invalid", form_data) // => true
 * ```
 */
export declare function check_dependency(dependency: string | undefined, form_data: Record<string, unknown>): boolean;
//# sourceMappingURL=check_dependency.d.ts.map