import React from 'react'; import Provider from '@splunk/visualization-context/Provider'; export declare const toDataURI: (Svg: React.FC) => string; interface Icon { dataURI: string; metaData: Record; } type IconMap = Record; interface IconListItem { id: string; metaData?: Record; } export declare const defaultIconList: IconMap; /** * a local icon provider */ export declare class StandardIconProvider extends Provider { iconList: IconMap; constructor({ iconList }?: { iconList?: IconMap; }); /** * return provider type * @return {String} 'splunk-default' */ getType(): string; /** * upload one new icon */ upload(): Promise; /** * get one icon by icon id */ getById(id: string): Promise; /** * get all icon ids * @params options * @params options.meta a list of meta data attribute that would be returned with each id * @params options.search a search string to filter the returned icons */ listIds({ offset, count, meta, search, }?: { offset?: number; count?: number; meta?: string[]; search?: string | null; }): Promise; /** * delete an icon by icon id */ deleteById(): Promise; } export {}; //# sourceMappingURL=StandardIconProvider.d.ts.map