import { PageTheme } from "@backstage/theme"; import { ThemeConfigPageTheme } from "../types"; /** * Creates a page theme from a page theme configuration (app-config.yaml). * * This allows the user to specificy a custom header with: * * * `backgroundColor` or `colors` like `'#ff0000'`, `['#ff0000']` or `['#ff0000', '#00ff00', '#0000ff']`. * * More then one color will create a gradient from left to right. * * * a `shape` like `round`, `wave`, `wave2`, or `none`. * * * or an `backgroundImage` that supports different types of images references: * * 1. CSS urls like `data:image/svg+xml,...` or `url(data:image/svg+xml,...)` * 2. Absolute or relative URLs starting with `http://`, `https://` or `/` * 3. Inline ... images will be transformed to `url(data:image/svg+xml,...)` * * * `fontColor` like `'#ffffff'` or `'#000000'` */ export declare const createPageTheme: (pageThemeConfig: ThemeConfigPageTheme) => PageTheme;