/** * Add podcast subscription payload definition. */ type Add = { /** * The podcast's RSS feed URL. * * @example 'https://example.com/podcast/rss' */ url: string; /** * A URL that the app should open after successfully subscribing. * * @example 'myapp://success' */ xSuccess?: string; }; /** * Subscribe to a podcast RSS feed in Overcast using x-callback-url standard. * * @param payload Add podcast subscription payload. * @returns Overcast subscribe URL. * @example * add({ * url: 'https://example.com/podcast/rss', * }) * // => 'overcast://x-callback-url/add?url=https%3A%2F%2Fexample.com%2Fpodcast%2Frss' * @example * add({ * url: 'https://example.com/podcast/rss', * xSuccess: 'myapp://success', * }) * // => 'overcast://x-callback-url/add?url=https%3A%2F%2Fexample.com%2Fpodcast%2Frss&x-success=myapp%3A%2F%2Fsuccess' * @link https://overcast.fm/podcasterinfo */ export declare function add(payload: Add): string; export {};