/** * Stagger helpers. * * @module bquery/motion */ import type { StaggerFunction, StaggerOptions } from './types'; /** * Create a staggered delay function for list animations. * * Supports linear sequences, center/end origins, grid layouts, axis-only * 2D distributions, and randomized index distance for chaotic looks. * * @param step - Delay between items in milliseconds * @param options - Stagger configuration * @returns Function that returns delay for a given index * * @example Linear stagger * ```ts * const delay = stagger(50, { from: 'center' }); * delay(0, 3); // 50 * delay(1, 3); // 0 * ``` * * @example Grid stagger * ```ts * const delay = stagger(40, { * grid: [4, 4], * from: { x: 0, y: 0 }, * }); * ``` */ export declare const stagger: (step: number, options?: StaggerOptions) => StaggerFunction; //# sourceMappingURL=stagger.d.ts.map