export type ContentCategory = "" | "homepage" | "article" | "video" | "audio";
export interface ContentDescriptionImageResource {
    src: string;
    type?: string;
    sizes?: string;
    label?: string;
}
export interface ContentDescription {
    id: string;
    title: string;
    description: string;
    url: string;
    category?: ContentCategory;
    icons?: ContentDescriptionImageResource[];
}
export type ContentIndexInitValue = ContentDescription[] | ContentDescription | undefined;
export interface ContentIndexInitFn {
    (): ContentIndexInitValue | Promise<ContentIndexInitValue>;
}
export type ContentIndexInit = ContentIndexInitValue | ContentIndexInitFn;
export interface ContentIndexConfig {
    index?: ContentIndexInit;
}
export declare class DurableContentIndex {
    add(contentDescription: ContentDescription): Promise<void>;
    delete(id: string): Promise<void>;
    getAll(): Promise<ContentDescription[]>;
}
export declare const index: DurableContentIndex;
