/** @license * Copyright 2016 - present The Material Motion Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations * under the License. */ import * as CSS from 'csstype'; import { Dimensions, ObservableWithMotionOperators, Point2D, StyleStreams } from '../types'; export declare type PrimitiveStyleDict = Partial<{ opacity: number; translate: Partial; rotate: number; scale: number; transformOrigin: Partial; dimensions: Partial; borderRadius: CSS.Properties['borderRadius']; willChange: CSS.Properties['willChange']; width: CSS.Properties['width']; height: CSS.Properties['height']; }>; export declare function combineStyleStreams(styleStreams: Partial): ObservableWithMotionOperators; export default combineStyleStreams; export declare function buildTransformString({translate: {x: translateX, y: translateY}, rotate, scale}: Partial<{ translate: Partial; rotate: number; scale: number; }>): string; export declare function applySuffix(value: number | string | undefined, suffix?: string): string | undefined; export declare function appendPixels(value: number | string | undefined): string | undefined; export declare function appendRadians(value: number | string | undefined): string | undefined;