Spaces:
Sleeping
Sleeping
File size: 919 Bytes
0865492 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | /**
* Elements configurable by a kernel library.
*/
export interface KernelLibraryUiElement {
/**
* Pretty name of the library.
*/
prettyLabel: string;
/**
* Repo name of the library's (usually on GitHub) code repo
*/
repoName: string;
/**
* URL to library's (usually on GitHub) code repo
*/
repoUrl: string;
/**
* URL to library's docs
*/
docsUrl?: string;
/**
* Code snippet(s) displayed
*/
snippets?: (kernelId: string, version?: number) => string[];
}
export declare const KERNEL_LIBRARIES_UI_ELEMENTS: {
kernels: {
prettyLabel: string;
repoName: string;
repoUrl: string;
docsUrl: string;
snippets: (kernelId: string, version?: number) => string[];
};
};
export type KernelLibraryKey = keyof typeof KERNEL_LIBRARIES_UI_ELEMENTS;
//# sourceMappingURL=kernel-libraries.d.ts.map |