import { PipeFn } from "../types"; /** * Register a custom pipe * * @param name - Pipe name (used in templates) * @param fn - Transform function (first param is value, rest are args) * * @example * Gyos.pipe('multiply', (value, factor = 2) => { * return value * factor; * }); * * // In template: {count | multiply(3)} */ export declare function pipe(name: string, fn: PipeFn): void; /** * Get a pipe */ export declare function getPipe(name: string): Function | undefined; /** * Apply pipe to value */ export declare function applyPipe(value: any, pipeName: string, args?: any[]): any; /** * Parse pipe expression: {value | pipe1(arg1, arg2) | pipe2} */ export declare function parsePipeExpression(expr: string): { base: string; pipes: Array<{ name: string; args: string[]; }>; }; //# sourceMappingURL=pipe.d.ts.map