import { APIResource } from "../../resource.js"; import * as Core from "../../core.js"; import { type Response } from "../../_shims/index.js"; export declare class PDF extends APIResource { /** * Fetches rendered PDF from provided URL or HTML. Check available options like * `gotoOptions` and `waitFor*` to control page load behaviour. */ create(params: PDFCreateParams, options?: Core.RequestOptions): Core.APIPromise; } export interface PDFCreateParams { /** * Path param: Account ID. */ account_id: string; /** * Query param: Cache TTL default is 5s. Set to 0 to disable. */ cacheTTL?: number; /** * Body param: The maximum duration allowed for the browser action to complete * after the page has loaded (such as taking screenshots, extracting content, or * generating PDFs). If this time limit is exceeded, the action stops and returns a * timeout error. */ actionTimeout?: number; /** * Body param: Adds a `