import { WebPartContext } from "@microsoft/sp-webpart-base";
import { IReadonlyTheme } from '@microsoft/sp-component-base';
import * as React from 'react';
import { IAnyContent } from './IRelatedItemsState';
export interface IRelatedFetchInfo {
    [key: string]: string | boolean | string[] | undefined;
    web: string;
    listTitle: string;
    restFilter: string;
    itemsAreFiles: boolean;
    linkProp: string;
    displayProp: string;
    canvasLinks?: boolean;
    canvasImgs?: boolean;
    ignoreDefaultImages?: boolean;
    textFilter?: string;
    textFilterProps?: string[];
}
export declare type IRelatedKey = 'related1' | 'related2' | 'pageLinks';
export interface IRelatedItemsProps {
    [key: string]: string | boolean | WebPartContext | IAnyContent[] | IRelatedFetchInfo | IReadonlyTheme | React.CSSProperties | undefined;
    context?: WebPartContext;
    parentKey: IRelatedKey;
    heading: string;
    showItems: boolean;
    isExpanded: boolean;
    fetchInfo: IRelatedFetchInfo;
    items?: IAnyContent[];
    linkSearchBox?: boolean;
    linkFilter?: string;
    themeVariant: IReadonlyTheme | undefined;
    itemsStyle: React.CSSProperties;
}
