type SubmitOptions = RunOptions<Input> & {
/**
* The URL to send a webhook notification to when the request is completed.
* @see WebHookResponse
*/
webhookUrl?: string;
/**
* The priority of the request. It defaults to `normal`.
* This will be sent as the `x-fal-queue-priority` header.
*
* @see QueuePriority
*/
priority?: QueuePriority;
/**
* A hint for the runner to use when processing the request.
* This will be sent as the `x-fal-runner-hint` header.
*/
hint?: string;
/**
* Server-side request timeout in seconds. Limits total time spent waiting
* before processing starts (includes queue wait, retries, and routing).
* Does not apply once the application begins processing.
*
* This will be sent as the `x-fal-request-timeout` header.
*/
startTimeout?: number;
/**
* Additional HTTP headers to include in the submit request.
*
* Note: `priority`, `hint`, `startTimeout`, and `objectLifecycle` will override the following headers:
* - `x-fal-queue-priority`
* - `x-fal-runner-hint`
* - `x-fal-request-timeout`
* - `x-fal-object-lifecycle-preference`
*/
headers?: Record<string, string>;
}