/** * Pure helpers for constructing Kotlin annotation strings. * * Centralizes the literal text used across the Kotlin emitter modules so * that adding a new annotation, changing import FQNs, or tightening the * string format only happens in one place. * * All helpers are pure: no state, no side effects. Callers add the * corresponding import to `importsSet` themselves (the FQNs are exposed * via `KOTLIN_ANNOTATION_IMPORTS`). */ /** `@Serializable` */ export declare function serializableAnnotation(): string; /** `@SerialName("")` */ export declare function serialNameAnnotation(value: string): string; /** `@Contextual` */ export declare function contextualAnnotation(): string; /** `@JsonClassDiscriminator("")` */ export declare function jsonClassDiscriminatorAnnotation(field: string): string; /** Fully qualified import paths for each annotation. */ export declare const KOTLIN_ANNOTATION_IMPORTS: { readonly serializable: "kotlinx.serialization.Serializable"; readonly serialName: "kotlinx.serialization.SerialName"; readonly contextual: "kotlinx.serialization.Contextual"; readonly jsonClassDiscriminator: "kotlinx.serialization.json.JsonClassDiscriminator"; };