import { PushInComposition } from './pushInComposition'; import { PushInLayer } from './pushInLayer'; import { PushIn } from './pushin'; import PushInBase from './pushInBase'; import { SceneSettings } from './types'; export declare class PushInScene extends PushInBase { pushin: PushIn; layers: PushInLayer[]; layerDepth: number; settings: SceneSettings; composition?: PushInComposition; layerCount: number; constructor(pushin: PushIn); start(): void; /** * If there is not a pushin-scene element, create one. */ setContainer(): void; /** * Get the AutoStart option if provided. * * Choices: * - scroll (default) Start effect on scroll. * - screen-bottom Start effect when target element top at viewport bottom. * - screen-top Start effect when target element top at viewport top. */ setAutoStart(): void; setLayerDepth(): void; /** * Setup composition for the scene. */ setComposition(): void; /** * Set scene class names. */ private setSceneClasses; /** * Resize the PushIn container if using a target container. */ resize(): void; /** * Set breakpoints for responsive design settings. */ private setBreakpoints; /** * Find all layers on the page and store them with their parameters */ private getLayers; /** * Get the array index of the current window breakpoint. */ getBreakpointIndex(breakpoints: number[]): number; /** * Get the screen-top value of the container. * * If using a target, get the top of the * container relative to the target's top. * * @returns {number} */ getTop(): number; /** * Get the scene inpoints provided by the JavaScript API * and/or the HTML data-attributes. * * @returns {number[]} */ getInpoints(): number[]; /** * Get the mode setting. * * @returns string */ getMode(): string; /** * Update outpoints to match container height * if using continuous mode and outpoint not specified. */ updateOutpoints(): void; }