everything-dev
Version:
A consolidated product package for building Module Federation apps with oRPC APIs.
35 lines • 1.04 kB
text/typescript
//#region src/ui/metadata.d.ts
declare const SOCIAL_IMAGE_WIDTH = 1200;
declare const SOCIAL_IMAGE_HEIGHT = 630;
interface SocialImageMetaOptions {
imageUrl: string;
title: string;
description: string;
siteName?: string;
siteUrl?: string;
type?: string;
alt?: string;
width?: number;
height?: number;
mimeType?: string;
}
declare function getSocialImageMeta(options: SocialImageMetaOptions): ({
property: string;
content: string;
name?: undefined;
} | {
name: string;
content: string;
property?: undefined;
})[];
interface DotIconSvgOptions {
size?: number;
color?: string;
radius?: number;
background?: string;
}
declare function createDotIconSvg(options?: DotIconSvgOptions): string;
declare function createPngIcoBuffer(png: Uint8Array, width: number, height: number): Uint8Array<ArrayBuffer>;
//#endregion
export { DotIconSvgOptions, SOCIAL_IMAGE_HEIGHT, SOCIAL_IMAGE_WIDTH, SocialImageMetaOptions, createDotIconSvg, createPngIcoBuffer, getSocialImageMeta };
//# sourceMappingURL=metadata.d.cts.map