export const getKotlinGreeting: () => string;
export const getKotlinUiText: () => string;
export const getKotlinAnalyticsInfo: () => string;

// 新增：stdlib 演示
export const getStdlibListDemo: () => string;
export const getStdlibAggregateDemo: () => string;
export const getStaticLibSum: (a: number, b: number) => number;
export const getSampleAdd: (a: number, b: number) => number;
export const getSampleImage: () => ArrayBuffer;
export const getKotlinSampleImage: () => ArrayBuffer;

export const triggerHeapBufferOverflow: () => number;
export const triggerKotlinStackBufferOverflow:() => number;
export const triggerHwasanUaf: () => number;
export const triggerTsan: () => number;
export const triggerKotlinHeapOverflow: () => number;
export const triggerKotlinHeapUseAfterFree: () => number;
export const triggerKotlinDoubleFree: () => number;
export const triggerKotlinFreeNonAllocated: () => number;
export const triggerCpuFreeze: () => void;
