import type { RowOf } from '@stacksjs/database/runtime'; /** * Fetch an author by ID */ export declare function fetchById(id: number): Promise; /** * Fetch all authors */ export declare function fetchAll(): Promise; /** * Fetch authors by name */ export declare function findByName(name: string): Promise; /** * Fetch authors by email */ export declare function findByEmail(email: string): Promise; /** * Fetch author by UUID */ export declare function findByUuid(uuid: string): Promise; /** * Fetch authors by user ID */ export declare function findByUserId(userId: number): Promise; declare type AuthorJsonResponse = RowOf<'authors'>;