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

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

export { getTextStyle, getTexture };
