import { type PipeTransform } from '@angular/core'; import * as i0 from "@angular/core"; export declare const lengthErrorMessageBuilder: (value: unknown) => string; export declare const startAtErrorMessageBuilder: (value: unknown) => string; /** * Returns an array of numbers starting from a given startAt value up to a specified length. * * @param {number} length - The number of elements to include in the resulting array. * @param {number} [startAt=0] - The value at which to start the sequence. Defaults to 0 if not provided. * @returns {number[]} - An array of numbers starting from startAt and incremented by 1 up to the specified length. * @throws {Error} - If length is not a positive integer. * * @example * ```html * @for (i of 5 | repeat; track i) { *

Nr. {{i}}

* } * *
* * @for (i of 5 | repeat: 5; track i) { *

Nr. {{i}}

* } * * * Nr. 0 * Nr. 1 * Nr. 2 * Nr. 3 * Nr. 4 * ---------------- * Nr. 5 * Nr. 6 * Nr. 7 * Nr. 8 * Nr. 9 * ``` */ export declare class RepeatPipe implements PipeTransform { /** * Returns an array of numbers starting from a given startAt value up to a specified length. * * @param {number} length - The number of elements to include in the resulting array. * @param {number} [startAt=0] - The value at which to start the sequence. Defaults to 0 if not provided. * @returns {number[]} - An array of numbers starting from startAt and incremented by 1 up to the specified length. * @throws {Error} - If length is not a positive integer. * * @example * ```html * @for (i of 5 | repeat; track i) { *

Nr. {{i}}

* } * *
* * @for (i of 5 | repeat: 5; track i) { *

Nr. {{i}}

* } * * * Nr. 0 * Nr. 1 * Nr. 2 * Nr. 3 * Nr. 4 * ---------------- * Nr. 5 * Nr. 6 * Nr. 7 * Nr. 8 * Nr. 9 * ``` */ transform(length: number, startAt?: number): number[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; }