import { Texture, TextStyle, TextStyleOptions } from 'pixi.js';

/**
 * Get a texture from a url.
 * @param imageUrl is the url of the image.
 * @returns the texture of the image, or a text with the error.
 */
declare function getTexture(imageUrl: string): Promise<Texture | void>;
declare function getTextStyle(style: TextStyle): TextStyleOptions;

export { getTextStyle, getTexture };
