/** * Activation function WGSL kernels */ export interface ActivationConfig { dtype: 'f32' | 'f16'; } /** * SiLU (Swish) activation: silu(x) = x * sigmoid(x) = x / (1 + exp(-x)) */ export declare function generateSiLUAndMulShader(config: ActivationConfig): string; /** * GELU activation: gelu(x) ≈ 0.5 * x * (1 + tanh(sqrt(2/π) * (x + 0.044715 * x^3))) */ export declare function generateGELUAndMulShader(config: ActivationConfig): string;