/** Look up a redirect for a missed path on a site, or null. */ export declare function resolveRedirect(siteId: number, path: string): Promise; /** * Record redirects for a set of path moves (a slug change plus every * descendant it dragged along). Upserts: a later move overwrites an older * redirect from the same path, and a redirect that would point at itself is * skipped. Also drops any old redirect TO a path that just became a source, * so chains collapse instead of loop. */ export declare function recordSlugChangeRedirects(siteId: number, moves: PathMove[]): Promise; export declare interface ResolvedRedirect { toPath: string statusCode: 301 | 302 } export declare interface PathMove { fromPath: string toPath: string }