/**
 * Parse `/app/projects/<projectId>/<branchName>` from a URL pathname.
 */
export declare function parseAppProjectsPathname(pathname: string): {
    projectId: string;
    branchName: string;
} | null;
/**
 * Parse a Builder project/branch URL and return projectId and branchName.
 * Returns null if the input is not a Builder URL.
 * Throws if the host is builder.io / builder.codes but the path is not a valid
 * `/app/projects/...` URL.
 *
 * Accepts: https://builder.io/app/projects/<projectId>/<branchName>
 */
export declare function parseBuilderProjectUrl(input: string): {
    projectId: string;
    branchName: string;
} | null;
