blogger-feeds
Version:
Read-only utilities and client for Blogger feeds
20 lines (19 loc) • 533 B
TypeScript
import { type PagedConf } from '../url';
export type DestrConf = Partial<{
blog: URL | string;
blogId: string;
postId: string;
} & PagedConf>;
/**
* Inverse of make, creates blogger url configs
* * doesn't validate, just coerces to conf shape
*/
export declare const toConf: (str: URL | string) => Partial<{
blog: URL | string;
blogId: string;
postId: string;
} & PagedConf>;
/**
* Merges two urls or configs together
*/
export declare const merge: (...conf: (URL | string | DestrConf)[]) => URL | null;