import type { Diagnostic } from '../types/diagnostic.js'; /** * 診断生成ヘルパー関数 * * Policy (fixed): * - implementation impossible => error * - state / progress visibility (unused, pending wiring, etc.) => info */ type SchemaLabel = 'L2' | 'L3' | 'L4'; export declare function schemaNotFound(label: SchemaLabel, schemaPath: string): Diagnostic; export declare function schemaError(label: SchemaLabel, filePath: string, instancePath: string, message: string): Diagnostic; export declare function duplicateScreenId(key: string, id: string, context: string | undefined): Diagnostic; export declare function invalidTransitionTarget(fromKey: string, targetId: string, transitionId: string): Diagnostic; export declare function targetContextNotFound(targetId: string, targetContext: string, fromKey: string, transitionId: string): Diagnostic; export declare function ambiguousTarget(targetId: string, options: string, fromKey: string, transitionId: string): Diagnostic; export declare function l3ActionNotInL2(action: string, screenId: string, context: string | undefined, componentId: string): Diagnostic; /** * L2 transition exists but L4.events has no handler. * This is "state" (not necessarily impossible), so info. */ export declare function l2TransitionNotInL4(transitionId: string, screenId: string): Diagnostic; /** * callQuery references a queryKey that does not exist in L4.data.queries. * This is implementation impossible => error. */ export declare function l4UnknownQuery(queryKey: string, eventKey: string, screenId: string): Diagnostic; /** * callMutation references a mutationKey that does not exist in L4.data.mutations. * This is implementation impossible => error. */ export declare function l4UnknownMutation(mutationKey: string, eventKey: string, screenId: string): Diagnostic; /** * L2 transition is unused from L3. This is "state" => info. */ export declare function l2TransitionUnused(transitionId: string, screenId?: string, context?: string): Diagnostic; export declare function i18nMissingKey(locale: string, key: string): Diagnostic; /** * Untranslated is "state" => info. */ export declare function i18nUntranslated(locale: string, key: string): Diagnostic; export {}; //# sourceMappingURL=diagnostics.d.ts.map