import { APIResource } from "../../core/resource.mjs";
import { APIPromise } from "../../core/api-promise.mjs";
import { RequestOptions } from "../../internal/request-options.mjs";
export declare class BaseLinks extends APIResource {
static readonly _key: readonly ['browserRendering', 'links'];
/**
* Get links from a web page.
*
* @example
* ```ts
* const links = await client.browserRendering.links.create({
* account_id: 'account_id',
* html: '
Hello World!
',
* });
* ```
*/
create(params: LinkCreateParams, options?: RequestOptions): APIPromise;
}
export declare class Links extends BaseLinks {
}
export type LinkCreateResponse = Array;
export type LinkCreateParams = LinkCreateParams.Variant0 | LinkCreateParams.Variant1;
export declare namespace LinkCreateParams {
interface Variant0 {
/**
* Path param: Account ID.
*/
account_id: string;
/**
* Body param: Set the content of the page, eg: `Hello World!!
`. Either
* `html` or `url` must be set.
*/
html: 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 `