10 lines
407 B
TypeScript
10 lines
407 B
TypeScript
import { LibsqlError } from '@libsql/client';
|
|
import { AstroError } from 'astro/errors';
|
|
import type { DBColumn } from '../core/types.js';
|
|
export declare function hasPrimaryKey(column: DBColumn): boolean;
|
|
export declare class AstroDbError extends AstroError {
|
|
name: string;
|
|
}
|
|
export declare function isDbError(err: unknown): err is LibsqlError;
|
|
export declare function pathToFileURL(path: string): URL;
|