/** * Copyright 2022 Google LLC * * 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 type { docs_v1 } from "@googleapis/docs"; import type { Properties, Property } from "csstype"; export declare const textAlign: (alignment: docs_v1.Schema$ParagraphStyle["alignment"]) => Property.TextAlign; export declare const borderToCss: ({ color, width, dashStyle, }: docs_v1.Schema$ParagraphBorder) => string; declare type Border = docs_v1.Schema$ParagraphBorder | docs_v1.Schema$TableCellBorder | docs_v1.Schema$EmbeddedObjectBorder; export declare const borders: ({ borderLeft, borderRight, borderTop, borderBottom, borderBetween, }: { borderLeft?: Border; borderRight?: Border; borderTop?: Border; borderBottom?: Border; borderBetween?: docs_v1.Schema$ParagraphBorder; }) => Properties; export declare const rgbColor: ({ color: { rgbColor: { red, green, blue } }, }: docs_v1.Schema$OptionalColor) => string; export declare const namedStyleTypeToTag: (namedStyleType: string) => string; export declare const camelToKebabCase: (str: string) => string; export declare const serializeStyle: (style: Properties) => string; export {};