import { EasingFunction } from "./types"; /** * @namespace easing */ /** * Cubic Bezier curve. * @memberof easing * @func bezier * @param {number} [x1] - point1's x * @param {number} [y1] - point1's y * @param {number} [x2] - point2's x * @param {number} [y2] - point2's y * @return {function} the curve function * @example import {bezier} from "scenejs"; Scene.bezier(0, 0, 1, 1) // LINEAR Scene.bezier(0.25, 0.1, 0.25, 1) // EASE */ export declare function bezier(x1: number, y1: number, x2: number, y2: number): EasingFunction; /** * Specifies a stepping function * @see {@link https://www.w3schools.com/cssref/css3_pr_animation-timing-function.asp|CSS3 Timing Function} * @memberof easing * @func steps * @param {number} count - point1's x * @param {"start" | "end"} postion - point1's y * @return {function} the curve function * @example import {steps} from "scenejs"; Scene.steps(1, "start") // Scene.STEP_START Scene.steps(1, "end") // Scene.STEP_END */ export declare function steps(count: number, position: "start" | "end"): EasingFunction; /** * Equivalent to steps(1, start) * @memberof easing * @name STEP_START * @static * @type {function} * @example import {STEP_START} from "scenejs"; Scene.STEP_START // steps(1, start) */ export declare const STEP_START: EasingFunction; /** * Equivalent to steps(1, end) * @memberof easing * @name STEP_END * @static * @type {function} * @example import {STEP_END} from "scenejs"; Scene.STEP_END // steps(1, end) */ export declare const STEP_END: EasingFunction; /** * Linear Speed (0, 0, 1, 1) * @memberof easing * @name LINEAR * @static * @type {function} * @example import {LINEAR} from "scenejs"; Scene.LINEAR */ export declare const LINEAR: EasingFunction; /** * Ease Speed (0.25, 0.1, 0.25, 1) * @memberof easing * @name EASE * @static * @type {function} * @example import {EASE} from "scenejs"; Scene.EASE */ export declare const EASE: EasingFunction; /** * Ease In Speed (0.42, 0, 1, 1) * @memberof easing * @name EASE_IN * @static * @type {function} * @example import {EASE_IN} from "scenejs"; Scene.EASE_IN */ export declare const EASE_IN: EasingFunction; /** * Ease Out Speed (0, 0, 0.58, 1) * @memberof easing * @name EASE_OUT * @static * @type {function} * @example import {EASE_OUT} from "scenejs"; Scene.EASE_OUT */ export declare const EASE_OUT: EasingFunction; /** * Ease In Out Speed (0.42, 0, 0.58, 1) * @memberof easing * @name EASE_IN_OUT * @static * @type {function} * @example import {EASE_IN_OUT} from "scenejs"; Scene.EASE_IN_OUT */ export declare const EASE_IN_OUT: EasingFunction;