/** * Internal dependencies */ import type { Element } from '../types'; type Stringable = string | number | boolean | null | undefined; type ElementWithRotation = Partial>; /** * Just the functional equivalent of your baseline template literal. * * ```js * const args = ['am', 'dog']; * literal(['I ', ' a '], ...args) === `I ${args[0]} a ${args[1]}`; // true * ``` * * @param strings strings in template tag * @param args arguments in template tag * @return string result */ export declare function literal(strings: ReadonlyArray, ...args: Stringable[]): string; /** * Given an element, this function returns a template tag * that wraps any given string in a counter transform to reset the * global coordinate space, then reapplies the original element * transform to retain visual consistency. * * ```js * const glabal = getGlobalSpace(element); * const keyframes = [ * transform: global`translate3d(0, ${pageHeightInElementPercent}%, 0)`, * transform: 'none' * ]; * ``` * * @param element story element to derive counter transforms off of. * @return template string tag that resets transform space. */ export declare function getGlobalSpace(element?: ElementWithRotation): (strings: TemplateStringsArray, ...args: Stringable[]) => string; export {}; //# sourceMappingURL=getGlobalSpace.d.ts.map