import { RandomTable } from '../domain/index.js'; import { TableRepository } from '../ports/index.js'; /** * Use case for getting a random table by ID. */ export declare class GetTableUseCase { private readonly repository; /** * Creates a new GetTableUseCase instance. * @param repository The table repository to use. */ constructor(repository: TableRepository); /** * Executes the use case. * @param id The ID of the table to get. * @returns The table, or null if not found. */ execute(id: string): Promise; }