/** * Parse transition name from attribute value * Handles: * 1. Literal string: "fade" or "slide-down" * 2. Expression with {}: "{transition}" * 3. Quoted literal kept for backwards compatibility: "'fade'" * * @param attrValue - The g-transition attribute value * @param scope - Current scope for expression evaluation * @returns The transition name (string) */ export declare function parseTransitionName(attrValue: string, scope: any): string; /** * Parse transition config from element's g-transition attribute * Extracts transition name and custom duration modifier * * @param element - Element with g-transition attribute * @param scope - Current scope for expression evaluation * @returns { name: string, duration?: number } or null if no transition */ export declare function parseTransitionConfig(element: HTMLElement, scope: any): { name: string; duration?: number; } | null; /** * Find all elements with g-transition attribute * Searches root element and all descendants * * @param root - Root element to search from * @returns Array of elements with g-transition */ export declare function findElementsWithTransition(root: HTMLElement): HTMLElement[]; /** * Propagate scope to element and all descendants * Only sets scope if not already set (preserves existing scopes) * * @param element - Root element to propagate scope to * @param scope - Scope object to propagate * @param skipIfExists - If true, don't overwrite existing scopes (default: true) */ export declare function propagateScopeToTree(element: Element, scope: any, skipIfExists?: boolean): void; /** * Apply enter transition to an element * Handles transition config parsing and application * * @param element - Element to apply transition to * @param scope - Current scope for expression evaluation * @returns Promise that resolves when transition completes */ export declare function applyEnterTransition(element: HTMLElement, scope: any, interruptLeave?: boolean): Promise; /** * Apply leave transition to an element * Handles transition config parsing and application * * @param element - Element to apply transition to * @param scope - Current scope for expression evaluation * @returns Promise that resolves when transition completes */ export declare function applyLeaveTransition(element: HTMLElement, scope: any, removeElement?: boolean): Promise; //# sourceMappingURL=transition-helpers.d.ts.map