UNPKG

1.14 kBTypeScriptView Raw
1type Platforms = 'android' | 'ios';
2export declare function getOS(): string;
3interface Overrides {
4 os?: string;
5 platform?: string;
6 hash?: string;
7 version?: string;
8}
9interface Other {
10 [key: string]: string;
11}
12export declare const docs: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
13export declare const contributing: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
14export declare const community: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
15export declare const showcase: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
16export declare const blog: (path: string, hashOrOverrides?: string | (Overrides & Other) | undefined) => string;
17/**
18 * When the user builds, we should define the target platform globally.
19 */
20export declare function setPlatform(target: Platforms): void;
21/**
22 * Can we figure out what version of react native they're using?
23 */
24export declare function setVersion(reactNativeVersion: string): void;
25export {};
26//# sourceMappingURL=doclink.d.ts.map
\No newline at end of file