import { type BunchByName, type BunchByTag, type BunchCallbacks, type BunchMethodSyntax } from './shared'; type EditByName = BunchByName & BunchCallbacks & { /** * URL syntax documented by Bunch. */ syntax?: BunchMethodSyntax; }; type EditByTag = BunchByTag & BunchCallbacks & { syntax?: never; }; /** * Edit method payload definition. */ export type Edit = EditByName | EditByTag; /** * Edit a Bunch. * * @param payload Edit method payload. * @returns Bunch edit URL. * @example * edit({ bunch: 'Example' }) * // => 'x-bunch://edit?bunch=Example' * @example * edit({ bunch: 'Example', syntax: 'path' }) * // => 'x-bunch://edit/Example' * @link https://bunchapp.co/docs/integration/url-handler/ */ export declare function edit(payload: Edit): string; export {};