import { APIResource } from "../resource.js"; import { APIPromise } from "../api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class Projects extends APIResource { /** * Add a new project */ create(body: ProjectCreateParams, options?: RequestOptions): APIPromise; /** * Get all projects */ list(options?: RequestOptions): APIPromise; } export interface Project { id?: number; description?: string; name?: string; } export type ProjectListResponse = Array; export interface ProjectCreateParams { id?: number; description?: string; name?: string; } export declare namespace Projects { export { type Project as Project, type ProjectListResponse as ProjectListResponse, type ProjectCreateParams as ProjectCreateParams, }; } //# sourceMappingURL=projects.d.ts.map