@braindb/astro
Version:
BrainDB Astro integration
19 lines (16 loc) • 744 B
TypeScript
import * as astro from 'astro';
import { BrainDB } from '@braindb/core';
declare const generateSlug: (filePath: string) => string;
declare function getBrainDb(): BrainDB;
declare const brainDbAstro: (options?: {
dbPath?: string | undefined;
cache?: boolean | undefined;
url?: ((args_0: string, args_1: Record<string, any>) => string) | undefined;
slug?: ((args_0: string, args_1: Record<string, any>) => string) | undefined;
root?: string | undefined;
source?: string | undefined;
git?: boolean | undefined;
storeMarkdown?: boolean | undefined;
remarkWikiLink?: boolean | undefined;
} | undefined) => astro.AstroIntegration & {};
export { brainDbAstro, brainDbAstro as default, generateSlug, getBrainDb };