@limitless-angular/sanity
Version:
A powerful Angular library for Sanity.io integration, featuring Portable Text rendering and optimized image loading.
12 lines (11 loc) • 784 B
TypeScript
import { TemplateRef } from '@angular/core';
import { PortableTextBlock } from '@portabletext/types';
import { TemplateContext } from '../types';
import { serializeBlock } from '../utils';
import * as i0 from "@angular/core";
export declare class BlockComponent {
template: import("@angular/core").Signal<TemplateRef<TemplateContext<PortableTextBlock<import("@portabletext/types").PortableTextMarkDefinition, import("@portabletext/types").ArbitraryTypedObject | import("@portabletext/types").PortableTextSpan, string, string>>>>;
protected readonly serializeBlock: typeof serializeBlock;
static ɵfac: i0.ɵɵFactoryDeclaration<BlockComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<BlockComponent, "lib-block", never, {}, {}, never, never, true, never>;
}